/srv/mercurial-server/detachablepurple: b0fb5ef14761: Removed an...

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


Changeset: b0fb5ef1476176a99f6b14f6e61e0fc8d00f8d21
Author:	 Gilles Bedel <gillux at cpw.pidgin.im>
Date:	 2012-05-15 01:13 +0000
Branch:	 cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/b0fb5ef14761

Description:

Removed an unnecessary parameter in purple_constructor_new_proxy_object().

diffstat:

 libpurple/dbus/constructor.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff --git a/libpurple/dbus/constructor.c b/libpurple/dbus/constructor.c
--- a/libpurple/dbus/constructor.c
+++ b/libpurple/dbus/constructor.c
@@ -176,10 +176,10 @@
 }
 
 /* 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 @@
 
 	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