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 | |
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')
-rw-r--r-- | gtk/gtkclist.c | 2 | ||||
-rw-r--r-- | gtk/gtklayout.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 5d54fd078e..6b5c1e075e 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -5804,7 +5804,7 @@ draw_rows (GtkCList *clist, } /* this is a small special case which exposes the bottom cell line - * on the last row -- it might go away if I change the wall the cell + * on the last row -- it might go away if I change the way the cell * spacings are drawn */ if (clist->rows == first_row) 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; |