/srv/mercurial-server/detachablepurple: bd304edb0892: Fixed a re...

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


Changeset: bd304edb08926f0e4b1c5708590ce55b3e676303
Author:	 Gilles Bedel <gillux at cpw.pidgin.im>
Date:	 2012-05-15 03:21 +0000
Branch:	 cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/bd304edb0892

Description:

Fixed a return value.

diffstat:

 libpurple/pobject.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/pobject.c b/libpurple/pobject.c
--- a/libpurple/pobject.c
+++ b/libpurple/pobject.c
@@ -298,7 +298,7 @@
 {
 	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