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 0ca218dfa9..c24487cb53 100644
--- a/gtk/gtkinvisible.c
+++ b/gtk/gtkinvisible.c
@@ -218,7 +218,7 @@ gtk_invisible_realize (GtkWidget *widget)
GdkWindowAttr attributes;
gint attributes_mask;
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ gtk_widget_set_realized (widget, TRUE);
parent = gtk_widget_get_parent_window (widget);
if (parent == NULL)