| 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 */ |