/srv/mercurial-server/detachablepurple: 80d50c481bbf: Forgot tha...
Gilles Bedel
gillux at cpw.pidgin.im
Fri Jun 15 22:01:32 EDT 2012
Changeset: 80d50c481bbf6abfc8949e9e12cebd854b969fb1
Author: Gilles Bedel <gillux at cpw.pidgin.im>
Date: 2012-03-27 21:17 +0000
Branch: cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/80d50c481bbf
Description:
Forgot that header part of 1c4660af5934738bfb0b0a32bbe6774f10b903e6.
diffstat:
libpurple/pobject.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diffs (21 lines):
diff --git a/libpurple/pobject.h b/libpurple/pobject.h
--- a/libpurple/pobject.h
+++ b/libpurple/pobject.h
@@ -331,6 +331,17 @@
guint purple_object_generic_dbus_register_object(gpointer object, GDBusConnection *dbus_conn);
/**
+ * Make the given object receive D-Bus signals, with the default signal
+ * handler. This function is set as the default on_dbus_connected function
+ * in client context.
+ *
+ * @param object An object derived from PurpleObject.
+ * @param dbus_conn The GDBus handle.
+ * @return The registration id returned by g_dbus_connection_signal_subscribe().
+ */
+guint purple_object_generic_dbus_signal_subscribe(gpointer object, GDBusConnection *dbus_conn);
+
+/**
* Calls the on_dbus_connected function pointer on the class of object,
* and keeps the registration id.
*
More information about the Commits
mailing list