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:44:48 +0100 |
commit | 70add69e9b3212a0f6e9ea27a1ecced2b871bd16 (patch) | |
tree | f6483e1b9425adcd9d63776ffef8a513bb436967 /gdbus/gdbus.h | |
parent | 2b61be9a9a7aee264598173cb2981493bce80177 (diff) | |
download | connman-70add69e9b3212a0f6e9ea27a1ecced2b871bd16.tar.gz connman-70add69e9b3212a0f6e9ea27a1ecced2b871bd16.tar.bz2 connman-70add69e9b3212a0f6e9ea27a1ecced2b871bd16.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 82519470..ba496211 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); |