[gtk+] GdkDevice: Use G_PARAM_EXPLICIT_NOTIFY



commit 5727a8676009532567aebc7d9b9fd617772996a8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 7 14:02:17 2014 -0400

    GdkDevice: Use G_PARAM_EXPLICIT_NOTIFY

 gdk/gdkdevice.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 2e9807d..544b681 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -190,7 +190,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
                                                       GDK_TYPE_INPUT_SOURCE,
                                                       GDK_SOURCE_MOUSE,
                                                       G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
-                                                      G_PARAM_STATIC_STRINGS));
+                                                      G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
   /**
    * GdkDevice:input-mode:
    *
@@ -205,7 +205,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
                                                       P_("Input mode for the device"),
                                                       GDK_TYPE_INPUT_MODE,
                                                       GDK_MODE_DISABLED,
-                                                      G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+                                                      G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | 
G_PARAM_EXPLICIT_NOTIFY));
   /**
    * GdkDevice:has-cursor:
    *


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