GNOME Bugzilla – Bug 759847
Glade crashes when loading projects with popover menus
Last modified: 2015-12-26 07:20:22 UTC
It calls: g_object_get (G_OBJECT (popover), "visible-submenu", &visible, NULL); , but visible ends up being NULL. It then calls: gtk_container_child_get (GTK_CONTAINER (popover), child, "submenu", &name, NULL); , and name also end up as NULL. It then tries to: strcmp (visible, name); and segfaults.
Created attachment 317859 [details] [review] Don't crash when popover menu children have no visible-submenu set
Created attachment 317860 [details] A glade file that crashes glade
Review of attachment 317859 [details] [review]: Thanks for the patch. I tried it out, found some other bug which I will be filing separately, and pushed to master :)