comparison src/gtkblist.c @ 10918:893921a6cc6e

[gaim-migrate @ 12681] Fix the crash when renaming a group to an existing name committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 15 May 2005 13:28:11 +0000
parents 5cda52915a1f
children 7a82d86ab44a
comparison
equal deleted inserted replaced
10917:aca17634b9ab 10918:893921a6cc6e
3981 3981
3982 g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node)); 3982 g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node));
3983 3983
3984 buddy = (GaimBuddy*)node; 3984 buddy = (GaimBuddy*)node;
3985 contact = (GaimContact*)node->parent; 3985 contact = (GaimContact*)node->parent;
3986 gtkparentnode = (struct _gaim_gtk_blist_node *)node->parent->ui_data;
3987 3986
3988 /* First things first, update the contact */ 3987 /* First things first, update the contact */
3989 gaim_gtk_blist_update_contact(list, node->parent); 3988 gaim_gtk_blist_update_contact(list, node->parent);
3989
3990 gtkparentnode = (struct _gaim_gtk_blist_node *)node->parent->ui_data;
3990 3991
3991 if (gtkparentnode->contact_expanded && 3992 if (gtkparentnode->contact_expanded &&
3992 (gaim_presence_is_online(buddy->presence) || 3993 (gaim_presence_is_online(buddy->presence) ||
3993 (gaim_account_is_connected(buddy->account) && 3994 (gaim_account_is_connected(buddy->account) &&
3994 gaim_prefs_get_bool("/gaim/gtk/blist/show_offline_buddies")) || 3995 gaim_prefs_get_bool("/gaim/gtk/blist/show_offline_buddies")) ||