[gtk+] GtkToolItem: Use G_PARAM_EXPLICIT_NOTIFY



commit 17059f9c17d69c0d1e69c976162302e9908f9076
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 9 09:44:22 2014 -0400

    GtkToolItem: Use G_PARAM_EXPLICIT_NOTIFY

 gtk/gtktoolitem.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 4664bf8..774ecd0 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -179,21 +179,21 @@ gtk_tool_item_class_init (GtkToolItemClass *klass)
                                                         P_("Visible when horizontal"),
                                                         P_("Whether the toolbar item is visible when the 
toolbar is in a horizontal orientation."),
                                                         TRUE,
-                                                        GTK_PARAM_READWRITE));
+                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   g_object_class_install_property (object_class,
                                   PROP_VISIBLE_VERTICAL,
                                   g_param_spec_boolean ("visible-vertical",
                                                         P_("Visible when vertical"),
                                                         P_("Whether the toolbar item is visible when the 
toolbar is in a vertical orientation."),
                                                         TRUE,
-                                                        GTK_PARAM_READWRITE));
+                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   g_object_class_install_property (object_class,
                                   PROP_IS_IMPORTANT,
                                   g_param_spec_boolean ("is-important",
                                                         P_("Is important"),
                                                         P_("Whether the toolbar item is considered 
important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode"),
                                                         FALSE,
-                                                        GTK_PARAM_READWRITE));
+                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_override_property (object_class, PROP_ACTIVATABLE_RELATED_ACTION, "related-action");
   g_object_class_override_property (object_class, PROP_ACTIVATABLE_USE_ACTION_APPEARANCE, 
"use-action-appearance");


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