changeset 4677:24657a33e9e5

[gaim-migrate @ 4988] this was stupid committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 08 Mar 2003 17:46:17 +0000
parents b620a67ec956
children 9ce3c698ff5e
files src/prefs.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Sat Mar 08 16:17:08 2003 +0000
+++ b/src/prefs.c	Sat Mar 08 17:46:17 2003 +0000
@@ -1570,7 +1570,6 @@
         struct away_message *am;
 	GtkTreeIter iter;
 	GtkTreePath *path;
-	GtkTreeStore *ts = GTK_TREE_STORE(gtk_tree_view_get_model(tv));
 	GtkTreeSelection *sel = gtk_tree_view_get_selection(tv);
 	GtkTreeModel *model = GTK_TREE_MODEL(prefs_away_store);
 	GValue val = { 0, };
@@ -1581,7 +1580,7 @@
 	am = g_value_get_pointer (&val);
 	gtk_imhtml_clear(GTK_IMHTML(away_text));
 	rem_away_mess(NULL, am);
-	gtk_list_store_remove(GTK_LIST_STORE(ts), &iter);
+	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);