W32: Don't unregister parent window of an embedded widget
This leads to an assertion failure, because parent window is never registered in the first place, widget's own GdkWindow is. But that window is unregistered in a generic fashion by GtkWidget code, so there's nothing for us to do here. https://bugzilla.gnome.org/show_bug.cgi?id=733766
This commit is contained in:
@ -136,7 +136,6 @@ gtk_win32_embed_widget_unrealize (GtkWidget *widget)
|
||||
|
||||
if (embed_widget->parent_window != NULL)
|
||||
{
|
||||
gtk_widget_unregister_window (widget, embed_widget->parent_window);
|
||||
g_object_unref (embed_widget->parent_window);
|
||||
embed_widget->parent_window = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user