src/gtkroomlist.c

changeset 8940
3e22cf150db0
parent 8939
ec2ecc652447
child 9067
5c76bda4091f
equal deleted inserted replaced
8939:ec2ecc652447 8940:3e22cf150db0
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

mercurial