table-layout: Remove unused animation helpers
authorBastian Winkler <buz@netbuz.org>
Wed, 16 May 2012 11:57:44 +0000 (13:57 +0200)
committerBastian Winkler <buz@netbuz.org>
Wed, 16 May 2012 12:55:10 +0000 (14:55 +0200)
They aren't used since ClutterTableLayout switched to the implicit
animations API.

https://bugzilla.gnome.org/show_bug.cgi?id=676158

clutter/clutter-table-layout.c

index 082635f..684352c 100644 (file)
@@ -140,12 +140,6 @@ struct _ClutterTableChild
 {
   ClutterLayoutMeta parent_instance;
 
-  /* the last stable allocation before an animation; it is used as the
-   * initial ActorBox when interpolating. If has_last_allocation is
-   * FALSE then this value is not yet known
-   */
-  ClutterActorBox last_allocation;
-
   gint col;
   gint row;
 
@@ -159,7 +153,6 @@ struct _ClutterTableChild
   guint y_expand            : 1;
   guint x_fill              : 1;
   guint y_fill              : 1;
-  guint has_last_allocation : 1;
 };
 
 enum
@@ -651,8 +644,6 @@ clutter_table_child_init (ClutterTableChild *self)
 
   self->x_fill = TRUE;
   self->y_fill = TRUE;
-
-  self->has_last_allocation = FALSE;
 }
 
 static GType