From 556a3e08dbfe1f44147d828cf07de1bf04565606 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 29 Feb 2012 13:45:32 -0500 Subject: [PATCH] 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 --- src/st/st-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-table.c b/src/st/st-table.c index d72e22125..6d22a8d50 100644 --- a/src/st/st-table.c +++ b/src/st/st-table.c @@ -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)) {