cpw.gillux.detachablepurple: ff0ccd96: Removed an unnecessary parameter in purp...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Mon May 14 23:27:18 EDT 2012
----------------------------------------------------------------------
Revision: ff0ccd9620c3cf25b6005e2c641c87215c0ca64e
Parent: 7ebc4714593d06dd2d26e0a46cf9c9612ae207ca
Author: gillux at soc.pidgin.im
Date: 05/14/12 21:13:29
Branch: im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/ff0ccd9620c3cf25b6005e2c641c87215c0ca64e
Changelog:
Removed an unnecessary parameter in purple_constructor_new_proxy_object().
Changes against parent 7ebc4714593d06dd2d26e0a46cf9c9612ae207ca
patched libpurple/dbus/constructor.c
-------------- next part --------------
============================================================
--- libpurple/dbus/constructor.c a08835df568bef5ff02cf80546f87006b0402fba
+++ libpurple/dbus/constructor.c b5ca796bbdb46066414c869804d23212f10310c4
@@ -176,10 +176,10 @@ DBUS_purple_constructor_new_account(Purp
}
/* Creates a new proxy gobject of type_name, initializing its properties with
- * what's in props, and sets its object path to dbus_path.
+ * what's in props.
*/
static gpointer
-purple_constructor_new_proxy_object(gchar *type_name, char *dbus_path, GVariant *props)
+purple_constructor_new_proxy_object(const gchar *type_name, GVariant *props)
{
GType type;
GParameter *params;
@@ -281,7 +281,7 @@ load_account(GVariant *account)
g_variant_get(account, "(o at a(sv))", &dbus_path, &props);
- paccount = purple_constructor_new_proxy_object("PurpleAccount", dbus_path, props);
+ paccount = purple_constructor_new_proxy_object("PurpleAccount", props);
g_variant_unref(props);
purple_object_set_dbus_path(PURPLE_OBJECT(paccount), dbus_path);
More information about the Commits
mailing list