summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/offscreen_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/offscreen_window.c')
-rw-r--r--demos/gtk-demo/offscreen_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/offscreen_window.c b/demos/gtk-demo/offscreen_window.c
index b6c741bddb..6ff212f5b0 100644
--- a/demos/gtk-demo/offscreen_window.c
+++ b/demos/gtk-demo/offscreen_window.c
@@ -229,7 +229,7 @@ gtk_rotated_bin_realize (GtkWidget *widget)
gint border_width;
GtkRequisition child_requisition;
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ gtk_widget_set_realized (widget, TRUE);
border_width = GTK_CONTAINER (widget)->border_width;