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:
@ -308,7 +308,7 @@ gtk_misc_realize (GtkWidget *widget)
|
||||
GdkWindowAttr attributes;
|
||||
gint attributes_mask;
|
||||
|
||||
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
|
||||
gtk_widget_set_realized (widget, TRUE);
|
||||
|
||||
if (!gtk_widget_get_has_window (widget))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user