[gtk+/gtk-3-22] Fix bad check of GtkActionPadType in gtk_pad_controller_set_action
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Fix bad check of GtkActionPadType in gtk_pad_controller_set_action
- Date: Wed, 1 Mar 2017 11:59:19 +0000 (UTC)
commit 75e98fd2521d0f0ae94d8b32b2b9ac7ae5ad0628
Author: cedlemo <cedlemo gmx com>
Date: Mon Feb 27 18:08:17 2017 +0100
Fix bad check of GtkActionPadType in gtk_pad_controller_set_action
https://bugzilla.gnome.org/show_bug.cgi?id=779317
gtk/gtkpadcontroller.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkpadcontroller.c b/gtk/gtkpadcontroller.c
index c1a9af7..e7fedfb 100644
--- a/gtk/gtkpadcontroller.c
+++ b/gtk/gtkpadcontroller.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]