[gtk+] GtkRevealer: Use G_PARAM_EXPLICIT_NOTIFY



commit fae5302eae0ec5d643aea938c9ebab10d546c81a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 7 00:51:21 2014 -0400

    GtkRevealer: Use G_PARAM_EXPLICIT_NOTIFY

 gtk/gtkrevealer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c
index 0abda84..5509b75 100644
--- a/gtk/gtkrevealer.c
+++ b/gtk/gtkrevealer.c
@@ -226,21 +226,21 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
                        P_("The type of animation used to transition"),
                        GTK_TYPE_REVEALER_TRANSITION_TYPE,
                        GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN,
-                       GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+                       GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
 
   props[PROP_TRANSITION_DURATION] =
     g_param_spec_uint ("transition-duration",
                        P_("Transition duration"),
                        P_("The animation duration, in milliseconds"),
                        0, G_MAXUINT, 250,
-                       GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+                       GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
 
   props[PROP_REVEAL_CHILD] =
     g_param_spec_boolean ("reveal-child",
                           P_("Reveal Child"),
                           P_("Whether the container should reveal the child"),
                           FALSE,
-                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
 
   props[PROP_CHILD_REVEALED] =
     g_param_spec_boolean ("child-revealed",


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