Test for bin->child being present before doing anything with it. Patch
2001-05-07 Federico Mena Quintero <federico@ximian.com> * gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being present before doing anything with it. Patch from Hvard Kvlen <havardk@netcom.no>.
This commit is contained in:
committed by
Federico Mena Quintero
parent
b4e4a0ed9d
commit
f14a807304
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
2001-05-07 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
|
||||
present before doing anything with it. Patch from H<>vard Kv<4B>len
|
||||
<havardk@netcom.no>.
|
||||
|
||||
2001-05-04 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: fix some shell typos
|
||||
|
||||
@ -2417,7 +2417,8 @@ gtk_window_focus (GtkContainer *container,
|
||||
}
|
||||
|
||||
/* Now try to focus the first widget in the window */
|
||||
if (GTK_WIDGET_DRAWABLE (bin->child) &&
|
||||
if (bin->child &&
|
||||
GTK_WIDGET_DRAWABLE (bin->child) &&
|
||||
GTK_WIDGET_IS_SENSITIVE (bin->child))
|
||||
{
|
||||
if (GTK_IS_CONTAINER (bin->child))
|
||||
|
||||
Reference in New Issue
Block a user