summaryrefslogtreecommitdiffstats
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-10-17 12:14:28 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-11-26 12:58:54 +0100
commit2e6824dbb0aca4d0d62da91e6eb20fff3867dd5f (patch)
tree86b4d49186f45310acca4048b6477ead52443acc /gdbus/gdbus.h
parent8aaa1103705ce61e896f3ce5e3836de0034cba95 (diff)
downloadofono-2e6824dbb0aca4d0d62da91e6eb20fff3867dd5f.tar.bz2
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.h13
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);