[clutter] Remove unused fields from LayoutInfo



commit f4af52ca7ff1179aa1f7bb4948b334ceb2258084
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Mar 27 12:09:28 2012 +0100

    Remove unused fields from LayoutInfo
    
    The x_expand and y_expand members would mess up the initialization of
    the constant LayoutInfo default structure.

 clutter/clutter-actor-private.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/clutter/clutter-actor-private.h b/clutter/clutter-actor-private.h
index 2ef6aaa..ac207b1 100644
--- a/clutter/clutter-actor-private.h
+++ b/clutter/clutter-actor-private.h
@@ -150,8 +150,6 @@ struct _SizeRequest
  * @fixed_x: the fixed position of the actor, set using clutter_actor_set_x()
  * @fixed_y: the fixed position of the actor, set using clutter_actor_set_y()
  * @margin: the composed margin of the actor
- * @x_expand: whether the actor should expand horizontally
- * @y_expand: whether the actor should expand vertically
  * @x_align: the horizontal alignment, if the actor expands horizontally
  * @y_align: the vertical alignment, if the actor expands vertically
  * @min_width: the minimum width, set using clutter_actor_set_min_width()
@@ -169,9 +167,6 @@ struct _ClutterLayoutInfo
 
   ClutterMargin margin;
 
-  guint x_expand : 1;
-  guint y_expand : 1;
-
   guint x_align : 4;
   guint y_align : 4;
 



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