[gnome-shell] st-table: Fix copy/paste error in st_table_remove
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-table: Fix copy/paste error in st_table_remove
- Date: Wed, 29 Feb 2012 20:11:03 +0000 (UTC)
commit 556a3e08dbfe1f44147d828cf07de1bf04565606
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Feb 29 13:45:32 2012 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-table.c b/src/st/st-table.c
index d72e221..6d22a8d 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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]