GNOME Bugzilla – Bug 788163
menu: handle NULL toplevel
Last modified: 2018-01-26 11:20:42 UTC
Created attachment 360397 [details] [review] menu: Guard against NULL toplevel GtkMenu explicitly connects to ::destroyed of its toplevel window, but if the window ever actually gets destroyed (and priv->toplevel set to NULL), it will still later try to do NULL-unsafe things like trying to disconnect from some signals. The attached patch is against 3.22 but I assume the same problem is present in master.
*** Bug 725146 has been marked as a duplicate of this bug. ***
Review of attachment 360397 [details] [review]: ok