[gtk+/gestures: 174/202] gesture: Declare GtkGesture:window as an object property



commit f322e55e19034e1076a28ae53b7c0147a23efb06
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri May 16 19:35:08 2014 +0200

    gesture: Declare GtkGesture:window as an object property

 gtk/gtkgesture.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index 5cdba14..f8dfe56 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -630,11 +630,11 @@ gtk_gesture_class_init (GtkGestureClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_WINDOW,
-                                   g_param_spec_boolean ("window",
-                                                         P_("GdkWindow to receive events about"),
-                                                         P_("GdkWindow to receive events about"),
-                                                         TRUE,
-                                                         GTK_PARAM_READWRITE));
+                                   g_param_spec_object ("window",
+                                                        P_("GdkWindow to receive events about"),
+                                                        P_("GdkWindow to receive events about"),
+                                                        GDK_TYPE_WINDOW,
+                                                        GTK_PARAM_READWRITE));
   /**
    * GtkGesture::begin:
    * @gesture: the object which received the signal


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