made 'page_num' argument a gint: switch_page signal delivers valid page

1998-11-26  Michael Krause  <m.krause@tu-harburg.de>

        * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
        argument a gint: switch_page signal delivers valid page numbers
        again.
This commit is contained in:
Michael Krause 1998-11-29 22:00:28 +00:00 committed by Tim Janik
parent c7850eccde
commit 140c26afbc
8 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -1,3 +1,9 @@
1998-11-26 Michael Krause <m.krause@tu-harburg.de>
* gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
argument a gint: switch_page signal delivers valid page numbers
again.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):

View File

@ -184,7 +184,7 @@ static void gtk_notebook_real_switch_page (GtkNotebook *notebook,
/** GtkNotebook Page Switch Functions **/
static void gtk_notebook_switch_page (GtkNotebook *notebook,
GtkNotebookPage *page,
guint page_num);
gint page_num);
static gint gtk_notebook_page_select (GtkNotebook *notebook);
static void gtk_notebook_switch_focus_tab (GtkNotebook *notebook,
GList *new_child);
@ -3152,7 +3152,7 @@ gtk_notebook_real_switch_page (GtkNotebook *notebook,
static void
gtk_notebook_switch_page (GtkNotebook *notebook,
GtkNotebookPage *page,
guint page_num)
gint page_num)
{
g_return_if_fail (notebook != NULL);
g_return_if_fail (GTK_IS_NOTEBOOK (notebook));