[gtk+/gtk-3-18] Avoid excessive property notification for GtkStack::interpolate-size



commit 9883f592b0dbacd448045bd57d956451eb660b38
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 9 09:27:40 2015 -0500

    Avoid excessive property notification for GtkStack::interpolate-size
    
    make check checks this for writable properties, and fails now that
    we've made this property writable.

 gtk/gtkstack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index 2460609..9eedad9 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -470,7 +470,7 @@ gtk_stack_class_init (GtkStackClass *klass)
   stack_props[PROP_INTERPOLATE_SIZE] =
       g_param_spec_boolean ("interpolate-size", P_("Interpolate size"), P_("Whether or not the size should 
smoothly change when changing between differently sized children"),
                             FALSE,
-                            GTK_PARAM_READWRITE);
+                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
 
   g_object_class_install_properties (object_class, LAST_PROP, stack_props);


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