From 70add69e9b3212a0f6e9ea27a1ecced2b871bd16 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 17 Oct 2012 12:14:28 -0300 Subject: 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() --- gdbus/gdbus.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'gdbus/gdbus.h') 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); -- cgit v1.2.3