diff options
Diffstat (limited to 'gtk/gtkruler.c')
-rw-r--r-- | gtk/gtkruler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c index dc5d841db..5876ba9fa 100644 --- a/gtk/gtkruler.c +++ b/gtk/gtkruler.c @@ -197,6 +197,7 @@ gtk_ruler_unrealize (GtkWidget *widget) GTK_WIDGET_UNSET_FLAGS (widget, GTK_REALIZED | GTK_MAPPED); gtk_style_detach (widget->style); + gdk_window_set_user_data (widget->window, NULL); gdk_window_destroy (widget->window); widget->window = NULL; |