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)
This commit is contained in:
@ -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>
|
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
|
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
|
||||||
|
|||||||
@ -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>
|
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
|
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
|
||||||
|
|||||||
@ -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>
|
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
|
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
|
||||||
|
|||||||
@ -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>
|
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
|
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
|
||||||
|
|||||||
@ -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>
|
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
|
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
|
||||||
|
|||||||
@ -2151,7 +2151,6 @@ gtk_notebook_remove (GtkContainer *container,
|
|||||||
GtkNotebook *notebook;
|
GtkNotebook *notebook;
|
||||||
GtkNotebookPage *page;
|
GtkNotebookPage *page;
|
||||||
GList *children;
|
GList *children;
|
||||||
guint page_num;
|
|
||||||
|
|
||||||
g_return_if_fail (GTK_IS_NOTEBOOK (container));
|
g_return_if_fail (GTK_IS_NOTEBOOK (container));
|
||||||
g_return_if_fail (widget != NULL);
|
g_return_if_fail (widget != NULL);
|
||||||
@ -2159,7 +2158,6 @@ gtk_notebook_remove (GtkContainer *container,
|
|||||||
notebook = GTK_NOTEBOOK (container);
|
notebook = GTK_NOTEBOOK (container);
|
||||||
|
|
||||||
children = notebook->children;
|
children = notebook->children;
|
||||||
page_num = 0;
|
|
||||||
while (children)
|
while (children)
|
||||||
{
|
{
|
||||||
page = children->data;
|
page = children->data;
|
||||||
@ -2168,7 +2166,6 @@ gtk_notebook_remove (GtkContainer *container,
|
|||||||
gtk_notebook_real_remove (notebook, children, FALSE);
|
gtk_notebook_real_remove (notebook, children, FALSE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
page_num++;
|
|
||||||
children = children->next;
|
children = children->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user