diff options
author | Tim Janik <timj@gimp.org> | 1998-03-17 03:16:11 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-03-17 03:16:11 +0000 |
commit | 077b5109a4a29187ccf8388fe90251e435089f5b (patch) | |
tree | 3367814540c4de6ec370e8c6c88bbaa782d9c4fe /gtk/gtkcontainer.c | |
parent | 444c9529db851e8b26217d9434f7bfe14ab36cf9 (diff) | |
download | gdk-pixbuf-077b5109a4a29187ccf8388fe90251e435089f5b.tar.gz |
exported gtk_spin_button_spin since it is used in testgtk, and besides
Tue Mar 17 03:56:13 1998 Tim Janik <timj@gimp.org>
* gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
used in testgtk, and besides that.
* gtk/testgtk.c: created a new "test" cursors, which showes different
types of GdkCursors and is a very simple example at using the drawing
area.
Tue Mar 17 03:56:13 1998 Tim Janik <timj@gimp.org>
* gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
used in testgtk, and besides that.
* gtk/testgtk.c: created a new "test" cursors, which showes different
types of GdkCursors and is a very simple example at using the drawing
area.
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index d00d17fb0..87f78886d 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -312,6 +312,7 @@ gtk_container_add (GtkContainer *container, g_return_if_fail (GTK_IS_CONTAINER (container)); g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_WIDGET (widget)); + g_return_if_fail (widget->parent == NULL); gtk_signal_emit (GTK_OBJECT (container), container_signals[ADD], widget); } |