summaryrefslogtreecommitdiff
path: root/gtk/gtkclist.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-13 19:57:42 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-13 19:57:42 +0000
commit463aab93dd04bb815f13ff8f17019071162a8ac3 (patch)
tree539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtkclist.c
parent9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff)
downloadgtk+-463aab93dd04bb815f13ff8f17019071162a8ac3.tar.gz
Various cleanups. (#315360, Kjartan Maraas)
2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r--gtk/gtkclist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c
index f0de2671e6..9a8220c91c 100644
--- a/gtk/gtkclist.c
+++ b/gtk/gtkclist.c
@@ -2814,7 +2814,7 @@ static void
real_remove_row (GtkCList *clist,
gint row)
{
- gint was_visible, was_selected;
+ gint was_visible;
GList *list;
GtkCListRow *clist_row;
@@ -2825,7 +2825,6 @@ real_remove_row (GtkCList *clist,
return;
was_visible = (gtk_clist_row_is_visible (clist, row) != GTK_VISIBILITY_NONE);
- was_selected = 0;
/* get the row we're going to delete */
list = ROW_ELEMENT (clist, row);