Mercurial > pidgin.yaz
changeset 4768:a1ea914506c9
[gaim-migrate @ 5086]
this should fix the crashing when removing away messages via the prefs window
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 14 Mar 2003 08:11:15 +0000 |
parents | f6d83e81d45a |
children | e0afac5f85bd |
files | src/prefs.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/prefs.c Fri Mar 14 08:10:17 2003 +0000 +++ b/src/prefs.c Fri Mar 14 08:11:15 2003 +0000 @@ -1571,7 +1571,6 @@ void remove_away_message(GtkWidget *widget, GtkTreeView *tv) { struct away_message *am; GtkTreeIter iter; - GtkTreePath *path; GtkTreeSelection *sel = gtk_tree_view_get_selection(tv); GtkTreeModel *model = GTK_TREE_MODEL(prefs_away_store); GValue val = { 0, }; @@ -1582,10 +1581,6 @@ am = g_value_get_pointer (&val); gtk_imhtml_clear(GTK_IMHTML(away_text)); rem_away_mess(NULL, am); - gtk_list_store_remove(prefs_away_store, &iter); - path = gtk_tree_path_new_first(); - gtk_tree_selection_select_path(sel, path); - gtk_tree_path_free(path); } GtkWidget *away_message_page() {