changeset 17459:dc20ffceab6b

Another change from o_sukhodolsky. This eliminates a warning from the DBus bindings code. References #1344
author Richard Laager <rlaager@wiktel.com>
date Wed, 30 May 2007 02:26:30 +0000
parents 98ef77c2455f
children 6f556fe1f616
files libpurple/connection.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/connection.h	Wed May 30 02:11:24 2007 +0000
+++ b/libpurple/connection.h	Wed May 30 02:26:30 2007 +0000
@@ -279,7 +279,7 @@
  * TODO: Eventually this bad boy will be removed, because it is
  *       a gross fix for a crashy problem.
  */
-#define PURPLE_CONNECTION_IS_VALID(gc) (g_list_find(purple_connections_get_all(), (gc)))
+#define PURPLE_CONNECTION_IS_VALID(gc) (g_list_find(purple_connections_get_all(), (gc)) != NULL)
 
 /*@}*/