cpw.gillux.detachablepurple: 1851d02a: Removed some unnecessary calls to the G_...

gillux at soc.pidgin.im gillux at soc.pidgin.im
Mon May 14 23:26:52 EDT 2012


----------------------------------------------------------------------
Revision: 1851d02a08ac063e0dd1b117d0eab5d6936a712f
Parent:   944d91bdb851f8af3885717e43b44c61f94ed47b
Author:   gillux at soc.pidgin.im
Date:     05/14/12 23:16:06
Branch:   im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/1851d02a08ac063e0dd1b117d0eab5d6936a712f

Changelog: 

Removed some unnecessary calls to the G_OBJECT() macro.

Changes against parent 944d91bdb851f8af3885717e43b44c61f94ed47b

  patched  libpurple/dbus/constructor.c
  patched  libpurple/pobject.c

-------------- next part --------------
============================================================
--- libpurple/pobject.c	d9cfd086ea1b927f2aaae9d71719bc41fb33a027
+++ libpurple/pobject.c	1366bf549dfe18a2e1800e9e29729f365d1fb202
@@ -434,7 +434,7 @@ purple_object_get_dbus_property(PurpleOb
 	GValue gval2 = {0, };
 
 	/* Check if such a named property exists. */
-	pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(G_OBJECT(pobj)),
+	pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(pobj),
 	                                     prop_name);
 	if (!pspec)
 		return NULL;
@@ -478,7 +478,7 @@ purple_object_set_dbus_property(PurpleOb
 	GValue gval = {0, };
 
 	/* Check if such a named property exists. */
-	pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(G_OBJECT(pobj)),
+	pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(pobj),
 	                                     prop_name);
 	if (!pspec)
 		return FALSE;
============================================================
--- libpurple/dbus/constructor.c	abb5e85566fecd8e643ecac864da048341895ff3
+++ libpurple/dbus/constructor.c	eec81733d8ed8b9df073045b6c63a41694b1968a
@@ -220,7 +220,7 @@ pack_pobject_properties(PurpleObject *po
 		if (!prop_name)
 			continue;
 
-		pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(G_OBJECT(pobject)),
+		pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(pobject),
 		                                     prop_name);
 		if (!pspec)
 			continue;


More information about the Commits mailing list