cpw.gillux.detachablepurple: c1d6a853: Fixed the prototype of the D-Bus signals...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Sun May 20 13:21:54 EDT 2012
----------------------------------------------------------------------
Revision: c1d6a85361ddccc5e1361851344606bb306db4e3
Parent: ff0195be20179f01429f6638940cb1d1ca2f0d6c
Author: gillux at soc.pidgin.im
Date: 05/20/12 10:58:08
Branch: im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/c1d6a85361ddccc5e1361851344606bb306db4e3
Changelog:
Fixed the prototype of the D-Bus signals and methods handlers.
Changes against parent ff0195be20179f01429f6638940cb1d1ca2f0d6c
patched libpurple/dbus/constructor.c
-------------- next part --------------
============================================================
--- libpurple/dbus/constructor.c 4a9452c142ed3f65af22845ac95e8084885fff3c
+++ libpurple/dbus/constructor.c 91352bed077aba0b8ad442a6735dcde190bec2cc
@@ -62,9 +62,10 @@ G_DEFINE_TYPE(PurpleConstructor, purple_
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 @@ static void
/* "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 @@ static GVariant*
/* "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