summaryrefslogtreecommitdiff
path: root/gtk/gtkinvisible.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkinvisible.c')
-rw-r--r--gtk/gtkinvisible.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c
index 0885d6c16a..0ca218dfa9 100644
--- a/gtk/gtkinvisible.c
+++ b/gtk/gtkinvisible.c
@@ -94,7 +94,7 @@ gtk_invisible_init (GtkInvisible *invisible)
{
GdkColormap *colormap;
- GTK_WIDGET_UNSET_FLAGS (invisible, GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET (invisible), TRUE);
GTK_WIDGET_SET_FLAGS (invisible, GTK_TOPLEVEL);
g_object_ref_sink (invisible);