diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-08-07 20:41:11 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-08-07 20:41:11 +0000 |
commit | 6f627e53dcbd6bbb3adb58a60a21971c670945b5 (patch) | |
tree | ffface702e30456f6e1e2356ec9ace532c14dcf3 /gtk/gtknotebook.c | |
parent | 5708dcee6c2ea7910283ea053ba3457cfae3afdf (diff) | |
download | gtk+-6f627e53dcbd6bbb3adb58a60a21971c670945b5.tar.gz |
Remove leftover page_num variable (Archit Baweja)
Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
page_num variable (Archit Baweja)
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 08183279d9..9f6db3b7ce 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -2151,7 +2151,6 @@ gtk_notebook_remove (GtkContainer *container, GtkNotebook *notebook; GtkNotebookPage *page; GList *children; - guint page_num; g_return_if_fail (GTK_IS_NOTEBOOK (container)); g_return_if_fail (widget != NULL); @@ -2159,7 +2158,6 @@ gtk_notebook_remove (GtkContainer *container, notebook = GTK_NOTEBOOK (container); children = notebook->children; - page_num = 0; while (children) { page = children->data; @@ -2168,7 +2166,6 @@ gtk_notebook_remove (GtkContainer *container, gtk_notebook_real_remove (notebook, children, FALSE); break; } - page_num++; children = children->next; } } |