| 286 static gboolean account_filter_func(GaimAccount *account) |
286 static gboolean account_filter_func(GaimAccount *account) |
| 287 { |
287 { |
| 288 GaimConnection *gc = gaim_account_get_connection(account); |
288 GaimConnection *gc = gaim_account_get_connection(account); |
| 289 GaimPluginProtocolInfo *prpl_info = NULL; |
289 GaimPluginProtocolInfo *prpl_info = NULL; |
| 290 |
290 |
| 291 // if (!gc) |
|
| 292 // return FALSE; |
|
| 293 |
|
| 294 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); |
291 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); |
| 295 |
292 |
| 296 return (prpl_info->roomlist_get_list != NULL); |
293 return (prpl_info->roomlist_get_list != NULL); |
| 297 } |
294 } |
| 298 |
295 |