[gtk+] GtkGestureSingle: Update declared defaults of properties



commit e0af2ba7c7f911bd618d6fba2b40e97398f0df2a
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 15 13:12:15 2014 -0400

    GtkGestureSingle: Update declared defaults of properties
    
    These should match the initial values, which were changed a
    few commits ago. The defaultvalue test fails if there is a
    mismatch, like here.

 gtk/gtkgesturesingle.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkgesturesingle.c b/gtk/gtkgesturesingle.c
index 1ad2a4b..472ac56 100644
--- a/gtk/gtkgesturesingle.c
+++ b/gtk/gtkgesturesingle.c
@@ -251,7 +251,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
                                                          P_("Handle only touch events"),
                                                          P_("Whether the gesture handles"
                                                             " only touch events"),
-                                                         TRUE,
+                                                         FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   /**
@@ -282,7 +282,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
                                    g_param_spec_uint ("button",
                                                       P_("Button number"),
                                                       P_("Button number to listen to"),
-                                                      0, G_MAXUINT, 0,
+                                                      0, G_MAXUINT, GDK_BUTTON_PRIMARY,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]