diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-31 15:26:52 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-31 15:26:52 +0000 |
commit | bb3ddb39f6a6cd272ebc61c778c19427196351bb (patch) | |
tree | aa46db3fe2f4ff866392ec45e2e2c7968d6815bf /gtk/gtkplug.c | |
parent | 35280973305a4b13c5e83d399463571709b78458 (diff) | |
download | gtk+-bb3ddb39f6a6cd272ebc61c778c19427196351bb.tar.gz |
Handle the case where bin->child is NULL. (#70153, Padraig O'Briain)
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
bin->child is NULL. (#70153, Padraig O'Briain)
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
Actually call gettext() on the labels; previously they
were marked with N_() but we never called gettext().
Diffstat (limited to 'gtk/gtkplug.c')
-rw-r--r-- | gtk/gtkplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c index aff46e861b..eb4f10c228 100644 --- a/gtk/gtkplug.c +++ b/gtk/gtkplug.c @@ -841,7 +841,7 @@ gtk_plug_focus (GtkWidget *widget, { /* Try to focus the first widget in the window */ - if (gtk_widget_child_focus (bin->child, direction)) + if (bin->child && gtk_widget_child_focus (bin->child, direction)) return TRUE; } |