diff options
author | Owen Taylor <otaylor@gtk.org> | 1998-12-12 22:49:38 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-12-12 22:49:38 +0000 |
commit | 07f038236891ead71a65146d0aec9224f0cac903 (patch) | |
tree | bfdefab095c9da78b1a554755dd944fc3fd0c289 /gtk/gtklayout.c | |
parent | 823b4d43a137e1afc66c53ef2d063568c5f581ea (diff) | |
download | gtk+-07f038236891ead71a65146d0aec9224f0cac903.tar.gz |
Mark child->window as destroyed so we don't destroy it again.
Sat Dec 12 17:46:55 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtklayout.c (gtk_layout_unrealize): Mark
child->window as destroyed so we don't destroy
it again.
Diffstat (limited to 'gtk/gtklayout.c')
-rw-r--r-- | gtk/gtklayout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c index c19adfdef1..ac961d87c9 100644 --- a/gtk/gtklayout.c +++ b/gtk/gtklayout.c @@ -503,6 +503,7 @@ gtk_layout_unrealize (GtkWidget *widget) { gdk_window_set_user_data (child->window, NULL); gdk_window_destroy (child->window); + child->window = NULL; } tmp_list = tmp_list->next; |