diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index 7523595c4b..5414ce82be 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -2169,7 +2169,7 @@ microphone-sensitivity-medium-symbolic - _Select + S_elect 1 diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c index 92f244455b..81ca7f7b26 100644 --- a/gtk/gtkshortcutcontroller.c +++ b/gtk/gtkshortcutcontroller.c @@ -373,7 +373,8 @@ gtk_shortcut_controller_run_controllers (GtkEventController *controller, if (!shortcuts) return retval; - for (i = shortcuts->len - 1, p = shortcuts->len; i >= 0; i--) + p = shortcuts->len; + for (i = 0; i < shortcuts->len; i++) { const ShortcutData *data = &g_array_index (shortcuts, ShortcutData, i);