Commit 0c81e7a2 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣

Merge branch 'tchaik/gtk-menu-accel-group-prop' into 'gtk-3-24'

menu: Fix accel-group property reset

See merge request !576
parents e5b83f1a d6840ad3
Pipeline #61997 passed with stage
in 7 minutes and 2 seconds
......@@ -2681,7 +2681,7 @@ gtk_menu_set_accel_group (GtkMenu *menu,
GtkMenuPrivate *priv;
g_return_if_fail (GTK_IS_MENU (menu));
g_return_if_fail (GTK_IS_ACCEL_GROUP (accel_group));
g_return_if_fail (!accel_group || GTK_IS_ACCEL_GROUP (accel_group));
priv = menu->priv;
......@@ -2822,7 +2822,7 @@ _gtk_menu_refresh_accel_paths (GtkMenu *menu,
{
GtkMenuPrivate *priv = menu->priv;
if (priv->accel_path && priv->accel_group)
if (priv->accel_path)
{
AccelPropagation prop;
......
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