Mercurial > pidgin
diff libpurple/connection.h @ 17379: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 | 516f14bef90e |
children | 4ca97b26a8fb |
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) /*@}*/