ri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>

* gtk/gtknotebook.c (focus_child_in): Catch the
        cur_page == NULL (no children) case. (#70287,
        Paolo Maggi.)
This commit is contained in:
Owen Taylor 2002-02-01 17:53:56 +00:00
parent d0b536eeba
commit a7d3cece47
8 changed files with 44 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1,3 +1,9 @@
Fri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):

View File

@ -1866,7 +1866,8 @@ static gboolean
focus_child_in (GtkNotebook *notebook,
GtkDirectionType direction)
{
return gtk_widget_child_focus (notebook->cur_page->child, direction);
if (notebook->cur_page)
return gtk_widget_child_focus (notebook->cur_page->child, direction);
}
/* Focus in the notebook can either be on the pages, or on