Commit 828a97d7 authored by Allison Karlitskaya's avatar Allison Karlitskaya

GtkWidget: fix insert_action_group(NULL)

gtk_widget_insert_action_group (widget, "foo", NULL) is valid, but
g_action_muxer_insert (muxer, "foo", NULL) is not.  Use
g_action_muxer_remove() for that case.
parent 820b0caf
......@@ -14138,5 +14138,8 @@ gtk_widget_insert_action_group (GtkWidget *widget,
muxer = _gtk_widget_get_action_muxer (widget);
g_action_muxer_insert (muxer, name, group);
if (group)
g_action_muxer_insert (muxer, name, group);
else
g_action_muxer_remove (muxer, name);
}
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