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:
Руслан Ижбулатов 2014-07-25 23:30:20 +00:00
parent 3fea9ff24c
commit e1acb93415

View File

@ -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;
}