Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user