[clutter/clutter-1.14] table-layout: Fix default values for expand/fill child properties



commit d877b17d5c71b977af227e29b7a58816ed523af0
Author: Florian Müllner <florian muellner gmail com>
Date:   Tue Jul 9 02:57:12 2013 +0200

    table-layout: Fix default values for expand/fill child properties
    
    Currently the default values according to their param spec don't
    match the actually used defaults, so update the former to reflect
    the actual behavior.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703809
    (cherry picked from commit c14bd84eefd53c9df891e4d031455fbf75dbb4c3)
    Signed-off-by: Emmanuele Bassi <ebassi gnome org>

 clutter/clutter-table-layout.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-table-layout.c b/clutter/clutter-table-layout.c
index 2c9a28c..516ff4e 100644
--- a/clutter/clutter-table-layout.c
+++ b/clutter/clutter-table-layout.c
@@ -574,28 +574,28 @@ clutter_table_child_class_init (ClutterTableChildClass *klass)
   pspec = g_param_spec_boolean ("x-expand",
                                 P_("Horizontal Expand"),
                                 P_("Allocate extra space for the child in horizontal axis"),
-                                FALSE,
+                                TRUE,
                                 CLUTTER_PARAM_READWRITE);
   g_object_class_install_property (gobject_class, PROP_CHILD_X_EXPAND, pspec);
 
   pspec = g_param_spec_boolean ("y-expand",
                                 P_("Vertical Expand"),
                                 P_("Allocate extra space for the child in vertical axis"),
-                                FALSE,
+                                TRUE,
                                 CLUTTER_PARAM_READWRITE);
   g_object_class_install_property (gobject_class, PROP_CHILD_Y_EXPAND, pspec);
 
   pspec = g_param_spec_boolean ("x-fill",
                                 P_("Horizontal Fill"),
                                 P_("Whether the child should receive priority when the container is 
allocating spare space on the horizontal axis"),
-                                FALSE,
+                                TRUE,
                                 CLUTTER_PARAM_READWRITE);
   g_object_class_install_property (gobject_class, PROP_CHILD_X_FILL, pspec);
 
   pspec = g_param_spec_boolean ("y-fill",
                                 P_("Vertical Fill"),
                                 P_("Whether the child should receive priority when the container is 
allocating spare space on the vertical axis"),
-                                FALSE,
+                                TRUE,
                                 CLUTTER_PARAM_READWRITE);
   g_object_class_install_property (gobject_class, PROP_CHILD_Y_FILL, pspec);
 


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