notebook fix from lars.

-timj
This commit is contained in:
Tim Janik 1998-03-15 13:40:15 +00:00
parent f87ee7e51a
commit eac28852ed
8 changed files with 39 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -1,3 +1,8 @@
Sun Mar 15 14:38:34 1998 Tim Janik <timj@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from
lars against a segfault that i discovered.
Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.

View File

@ -2386,7 +2386,10 @@ gtk_notebook_pages_allocate (GtkNotebook *notebook,
children = NULL;
gtk_notebook_calc_tabs (notebook,notebook->first_tab->prev,
&children, &tab_space, STEP_PREV);
notebook->first_tab = children->next;
if (children)
notebook->first_tab = children->next;
else
notebook->first_tab = notebook->children;
}
}