st-table: Fix copy/paste error in st_table_remove

When porting from st_container_get_children_list to this code, I accidentally
broke StTable by a copy/paste error. This broke notifications that updated,
leaving them with what they think were 0 columns and 0 rows.

https://bugzilla.gnome.org/show_bug.cgi?id=670640
This commit is contained in:
Jasper St. Pierre 2012-02-29 13:45:32 -05:00
parent e3fb77c051
commit 556a3e08db

View File

@ -104,7 +104,7 @@ st_table_actor_removed (ClutterContainer *container,
ClutterActor *child;
/* Calculate and update the number of rows / columns */
for (child = clutter_actor_get_first_child (actor);
for (child = clutter_actor_get_first_child (CLUTTER_ACTOR (container));
child != NULL;
child = clutter_actor_get_next_sibling (child))
{