gtk: window: don't forget to realize popovers of subwindows

https://bugzilla.gnome.org/show_bug.cgi?id=770307
This commit is contained in:
Lionel Landwerlin 2016-08-25 20:38:52 +01:00 committed by Matthias Clasen
parent bdbe2de57d
commit ea1295c9ab

View File

@ -7183,6 +7183,15 @@ gtk_window_realize (GtkWidget *widget)
gtk_widget_register_window (widget, gdk_window);
gtk_widget_set_realized (widget, TRUE);
link = priv->popovers;
while (link)
{
GtkWindowPopover *popover = link->data;
link = link->next;
popover_realize (popover->widget, popover, window);
}
return;
}