Menu: Sanitise @torn_off gboolean in public API
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user