[gtk+] GtkAccelLabel: use G_PARAM_EXPLICIT_NOTIFY



commit fba83da3ee2e45e922fa5afdde9bbfe14658fbe6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 7 06:45:57 2014 -0400

    GtkAccelLabel: use G_PARAM_EXPLICIT_NOTIFY

 gtk/gtkaccellabel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 7cf1ec6..81eab12 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -191,14 +191,14 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class)
                         P_("Accelerator Closure"),
                         P_("The closure to be monitored for accelerator changes"),
                         G_TYPE_CLOSURE,
-                        GTK_PARAM_READWRITE);
+                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
   props[PROP_ACCEL_WIDGET] =
     g_param_spec_object ("accel-widget",
                          P_("Accelerator Widget"),
                          P_("The widget to be monitored for accelerator changes"),
                          GTK_TYPE_WIDGET,
-                         GTK_PARAM_READWRITE);
+                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
   g_object_class_install_properties (gobject_class, LAST_PROP, props);
 }


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