cpw.gillux.detachablepurple: b172faa5: Fixed a return value.

gillux at soc.pidgin.im gillux at soc.pidgin.im
Mon May 14 23:27:13 EDT 2012


----------------------------------------------------------------------
Revision: b172faa5e805b55bd59385bf341a5ff1c60b2c4e
Parent:   2b071d0054b0bfbbf8b50018e477b4fac0e8de38
Author:   gillux at soc.pidgin.im
Date:     05/14/12 23:21:15
Branch:   im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/b172faa5e805b55bd59385bf341a5ff1c60b2c4e

Changelog: 

Fixed a return value.

Changes against parent 2b071d0054b0bfbbf8b50018e477b4fac0e8de38

  patched  libpurple/pobject.c

-------------- next part --------------
============================================================
--- libpurple/pobject.c	01720a2ac5f5ec24d5d0352a5d4baab2984bca09
+++ libpurple/pobject.c	a5863dcb8dc8e2c0217ed0a38e25aaaea81d5624
@@ -298,7 +298,7 @@ purple_object_get_dbus_reg_id(PurpleObje
 {
 	PurpleObjectPrivate *priv;
 
-	g_return_val_if_fail(pobj, NULL);
+	g_return_val_if_fail(pobj, 0);
 	priv = PURPLE_OBJECT_GET_PRIVATE(pobj);
 	return priv->dbus_reg_id;
 }


More information about the Commits mailing list