diff options
author | Tim Janik <timj@gimp.org> | 1998-02-03 14:13:05 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-02-03 14:13:05 +0000 |
commit | b45cd0430c79f9426036ced2809427e0920dd855 (patch) | |
tree | d278a375e959b28d1f59e87cdffcfaa06dd11273 /gtk/gtkbutton.c | |
parent | a8629917ae91588cea02e0e8a20afc593a263cd7 (diff) | |
download | gtk+-b45cd0430c79f9426036ced2809427e0920dd855.tar.gz |
attach/detach to menu widget via
Tue Feb 3 15:09:55 1998 Tim Janik <timj@gimp.org>
* gtk/gtkoptionmenu.h:
* gtk/gtkoptionmenu.c: attach/detach to menu widget via
* gtk/gtkmenu.h:
* gtk/gtkmenu.c: new functions gtk_menu_attach_to_widget
and gtk_menu_detach that correspond to the action of
gtk_widget_set_parent and gtk_widget_unparent.
* gtk/widget.c: few fixups.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index a9ed0d7f6e..8b67766a3e 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -802,6 +802,7 @@ gtk_button_remove (GtkContainer *container, g_return_if_fail (container != NULL); g_return_if_fail (GTK_IS_BUTTON (container)); + g_return_if_fail (widget != NULL); button = GTK_BUTTON (container); |