gtk-demo: Fix crash after running popovers demo

The GtkBuilder window containing the complex popover UI was left
dangling, and with a dangling pointer to its former child, causing
crashes on gtk_grab_notify() after the popover was destroyed.
This commit is contained in:
Carlos Garnacho
2014-01-10 14:07:44 +01:00
parent 31042fe95f
commit 7e30b82aee
2 changed files with 7 additions and 4 deletions

View File

@ -40,7 +40,7 @@
</row>
</data>
</object>
<object class="GtkWindow" id="window1">
<object class="GtkWindow" id="window">
<property name="can_focus">False</property>
<child>
<object class="GtkBox" id="box">