comparison src/gtkroomlist.c @ 8940:b875f5d57b81

[gaim-migrate @ 9710] Gray out the Join a Chat menu item when no online accounts support chats. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 16 May 2004 00:06:25 +0000
parents 19885cb8a24c
children 1f2bbb359adb
comparison
equal deleted inserted replaced
8939:19885cb8a24c 8940:b875f5d57b81
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