shortcutcontroller: Don't return a shortcut stope as GdkModifierType

This commit is contained in:
Timm Bäder 2020-05-17 09:53:23 +02:00
parent 9b98641ddd
commit 1d9e68245a

View File

@ -866,7 +866,7 @@ gtk_shortcut_controller_set_mnemonics_modifiers (GtkShortcutController *self,
GdkModifierType
gtk_shortcut_controller_get_mnemonics_modifiers (GtkShortcutController *self)
{
g_return_val_if_fail (GTK_IS_SHORTCUT_CONTROLLER (self), GTK_SHORTCUT_SCOPE_LOCAL);
g_return_val_if_fail (GTK_IS_SHORTCUT_CONTROLLER (self), 0);
return self->mnemonics_modifiers;
}