Commit a7a4a459 authored by Daniel Boles's avatar Daniel Boles

Menu: Sanitise @torn_off gboolean in public API

parent 30405ee6
......@@ -2967,6 +2967,7 @@ gtk_menu_set_tearoff_state (GtkMenu *menu,
priv = menu->priv;
torn_off = !!torn_off;
if (priv->torn_off != torn_off)
priv->torn_off = torn_off;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment