# HG changeset patch # User Richard Laager # Date 1180491990 0 # Node ID dc20ffceab6b8195e7d5b87ac61096e69f0ff8cf # Parent 98ef77c2455f22ec5ac551aa648d71bc1333511c Another change from o_sukhodolsky. This eliminates a warning from the DBus bindings code. References #1344 diff -r 98ef77c2455f -r dc20ffceab6b libpurple/connection.h --- 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) /*@}*/