Commit 75e98fd2 authored by cedlemo's avatar cedlemo Committed by Carlos Garnacho

Fix bad check of GtkActionPadType in gtk_pad_controller_set_action
parent c3914178
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment