Fill in missing MetaKeyBindingAction values

Also, add an assertion to init_bindings() to keep it from getting out
of sync again in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=632149
This commit is contained in:
Dan Winship
2010-10-14 10:17:55 -04:00
parent e8dda03441
commit 9a4d1686a6
2 changed files with 74 additions and 1 deletions

View File

@ -2118,6 +2118,8 @@ init_bindings (void)
GConfValue *value;
GHashTable *to_update;
g_assert (G_N_ELEMENTS (key_bindings) == META_KEYBINDING_ACTION_LAST + 1);
to_update = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
for (i = 0; prefix[i]; i++)