Commit 5959005f authored by Cody Russell's avatar Cody Russell Committed by Javier Jardón

Use gtk_accel_grouop_get_is_locked() rather than trying to access group->lock_count.

parent 0779d0a3
......@@ -367,7 +367,7 @@ internal_change_entry (const gchar *accel_path,
for (i = 0; i < n; i++)
seen_accel = TRUE;
removable = !group->lock_count && !(ag_entry[i].key.accel_flags & GTK_ACCEL_LOCKED);
removable = !gtk_accel_group_get_is_locked (group) && !(ag_entry[i].key.accel_flags & GTK_ACCEL_LOCKED);
if (!removable)
goto break_loop_step5;
if (ag_entry[i].accel_path_quark)
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