summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r--gtk/gtkexpander.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 55fd004f76..eb474041f4 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -267,7 +267,7 @@ gtk_expander_init (GtkExpander *expander)
expander->priv = priv = GTK_EXPANDER_GET_PRIVATE (expander);
gtk_widget_set_can_focus (GTK_WIDGET (expander), TRUE);
- GTK_WIDGET_SET_FLAGS (expander, GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET (expander), FALSE);
priv->label_widget = NULL;
priv->event_window = NULL;