/srv/mercurial-server/detachablepurple: a5bb457d49fc: Fixed the ...

Gilles Bedel gillux at cpw.pidgin.im
Fri Jun 15 22:01:42 EDT 2012


Changeset: a5bb457d49fcdf60992e4200e4919b750cab3256
Author:	 Gilles Bedel <gillux at cpw.pidgin.im>
Date:	 2012-05-20 14:58 +0000
Branch:	 cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/a5bb457d49fc

Description:

Fixed the prototype of the D-Bus signals and methods handlers.

diffstat:

 libpurple/dbus/constructor.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (37 lines):

diff --git a/libpurple/dbus/constructor.c b/libpurple/dbus/constructor.c
--- a/libpurple/dbus/constructor.c
+++ b/libpurple/dbus/constructor.c
@@ -62,9 +62,10 @@
 
 G_DEFINE_TYPE(PurpleConstructor, purple_constructor, PURPLE_TYPE_OBJECT)
 
+/* D-Bus signals and methods handlers. */
 static GVariant* purple_constructor_get_all_accounts(void);
-static void purple_constructor_pobj_created(PurpleObject *constructor, const char *type, const char *dbus_path, GVariant *props);
-static GVariant* purple_constructor_new_account(PurpleObject *constructor, const char *username, const char *protocol_id);
+static void purple_constructor_pobj_created(PurpleConstructor *constructor, const char *type, const char *dbus_path, GVariant *props);
+static GVariant* purple_constructor_new_account(PurpleConstructor *constructor, const char *username, const char *protocol_id);
 
 static char*
 purple_constructor_build_dbus_path(PurpleObject *object)
@@ -350,8 +351,9 @@
 
 /* "PurpleObjectCreated" signal handler. */
 static void
-purple_constructor_pobj_created(PurpleObject *constructor, const gchar *type,
-                                const gchar *dbus_path, GVariant *props)
+purple_constructor_pobj_created(PurpleConstructor *constructor,
+                                const gchar *type_name, const gchar *dbus_path,
+                                GVariant *props)
 {
 	gpointer *obj;
 
@@ -372,7 +374,7 @@
 
 /* "NewAccount" method handler. */
 static GVariant*
-purple_constructor_new_account(PurpleObject *constructor,
+purple_constructor_new_account(PurpleConstructor *constructor,
                                const char *username, const char *protocol_id)
 {
 	PurpleAccount *account;



More information about the Commits mailing list