mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
Fix bad check of GtkActionPadType in gtk_pad_controller_set_action
https://bugzilla.gnome.org/show_bug.cgi?id=779317
This commit is contained in:
parent
c391417838
commit
75e98fd252
@ -514,7 +514,7 @@ gtk_pad_controller_set_action (GtkPadController *controller,
|
||||
(gchar *) label, (gchar *) action_name };
|
||||
|
||||
g_return_if_fail (GTK_IS_PAD_CONTROLLER (controller));
|
||||
g_return_if_fail (type <= GTK_PAD_ACTION_RING);
|
||||
g_return_if_fail (type <= GTK_PAD_ACTION_STRIP);
|
||||
|
||||
gtk_pad_controller_add_entry (controller, &entry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user