libpurple/connection.h

changeset 17458
0a37d0d3e4d6
parent 16743
1ce5ffe12e2a
child 18121
2d8ea56b9097
equal deleted inserted replaced
17457:1e19ef46b296 17458:0a37d0d3e4d6
277 */ 277 */
278 /* 278 /*
279 * TODO: Eventually this bad boy will be removed, because it is 279 * TODO: Eventually this bad boy will be removed, because it is
280 * a gross fix for a crashy problem. 280 * a gross fix for a crashy problem.
281 */ 281 */
282 #define PURPLE_CONNECTION_IS_VALID(gc) (g_list_find(purple_connections_get_all(), (gc))) 282 #define PURPLE_CONNECTION_IS_VALID(gc) (g_list_find(purple_connections_get_all(), (gc)) != NULL)
283 283
284 /*@}*/ 284 /*@}*/
285 285
286 /**************************************************************************/ 286 /**************************************************************************/
287 /** @name UI Registration Functions */ 287 /** @name UI Registration Functions */

mercurial