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:
cedlemo 2017-02-27 18:08:17 +01:00 committed by Carlos Garnacho
parent c391417838
commit 75e98fd252

View File

@ -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);
}