diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtknotebook.c | 3 |
6 files changed, 25 insertions, 3 deletions
@@ -1,3 +1,8 @@ +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) + 2003-08-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 13663bb9a7..77ec6ead2c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +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) + 2003-08-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 13663bb9a7..77ec6ead2c 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +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) + 2003-08-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 13663bb9a7..77ec6ead2c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +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) + 2003-08-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 13663bb9a7..77ec6ead2c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +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) + 2003-08-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with 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; } } |