summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index fb3fa7d901..a8e99db244 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1798,7 +1798,8 @@ gtk_notebook_realize (GtkWidget *widget)
GdkRectangle event_window_pos;
notebook = GTK_NOTEBOOK (widget);
- GTK_WIDGET_SET_FLAGS (notebook, GTK_REALIZED);
+
+ gtk_widget_set_realized (widget, TRUE);
gtk_notebook_get_event_window_position (notebook, &event_window_pos);