[gtk+] GtkTreeSelection: Use G_PARAM_EXPLICIT_NOTIFY



commit d169f409b0c4b88ea21ec893155d8fb416521cb9
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 9 11:49:45 2014 -0400

    GtkTreeSelection: Use G_PARAM_EXPLICIT_NOTIFY

 gtk/gtktreeselection.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index 06c3dd8..f797ee3 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -22,6 +22,7 @@
 #include "gtkrbtree.h"
 #include "gtkmarshalers.h"
 #include "gtkintl.h"
+#include "gtkprivate.h"
 #include "gtktypebuiltins.h"
 #include "a11y/gtktreeviewaccessibleprivate.h"
 
@@ -130,8 +131,7 @@ gtk_tree_selection_class_init (GtkTreeSelectionClass *class)
                                              P_("Selection mode"),
                                              GTK_TYPE_SELECTION_MODE,
                                              GTK_SELECTION_SINGLE,
-                                             G_PARAM_READWRITE |
-                                             G_PARAM_STATIC_STRINGS);
+                                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   /* Install all properties */
   g_object_class_install_properties (object_class, N_PROPERTIES, properties);


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