diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-10-17 12:14:28 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-11-26 14:48:50 +0100 |
commit | 51d8ed894a7ba11b05a79973dc3f15b4ba6e0980 (patch) | |
tree | f79211e0c2520c3328068d524e884ca7c926c877 /gdbus/gdbus.h | |
parent | b11c784b6253831b5db6c0752f79074b93d3f47a (diff) | |
download | neard-51d8ed894a7ba11b05a79973dc3f15b4ba6e0980.tar.gz neard-51d8ed894a7ba11b05a79973dc3f15b4ba6e0980.tar.bz2 neard-51d8ed894a7ba11b05a79973dc3f15b4ba6e0980.zip |
gdbus: Remove connection from pending_property functions
The reply to a DBus.Properties.Set() method call should go through the
same D-Bus connection. Thus remove the DBusConnection parameter from the
following functions:
- g_dbus_pending_property_success()
- g_dbus_pending_property_error_valist()
- g_dbus_pending_property_error()
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index 8251947..ba49621 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -246,14 +246,11 @@ guint g_dbus_add_signal_watch(DBusConnection *connection, gboolean g_dbus_remove_watch(DBusConnection *connection, guint tag); void g_dbus_remove_all_watches(DBusConnection *connection); -void g_dbus_pending_property_success(DBusConnection *connection, - GDBusPendingPropertySet id); -void g_dbus_pending_property_error_valist(DBusConnection *connection, - GDBusPendingReply id, const char *name, - const char *format, va_list args); -void g_dbus_pending_property_error(DBusConnection *connection, - GDBusPendingReply id, const char *name, - const char *format, ...); +void g_dbus_pending_property_success(GDBusPendingPropertySet id); +void g_dbus_pending_property_error_valist(GDBusPendingReply id, + const char *name, const char *format, va_list args); +void g_dbus_pending_property_error(GDBusPendingReply id, const char *name, + const char *format, ...); void g_dbus_emit_property_changed(DBusConnection *connection, const char *path, const char *interface, const char *name); |