[libchamplain] Code cleanup
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Code cleanup
- Date: Tue, 23 Mar 2010 14:42:21 +0000 (UTC)
commit 3f086a92b2123ec1f904880bc69e5949e988a65b
Author: JiÅ?Ã Techet <techet gmail com>
Date: Wed Mar 17 23:28:47 2010 +0100
Code cleanup
Signed-off-by: JiÅ?Ã Techet <techet gmail com>
champlain/champlain-view.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index fe7e5a7..17eff86 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2327,12 +2327,7 @@ view_reload_tiles_cb (ChamplainMapSource *map_source,
{
ChamplainViewPrivate *priv = GET_PRIVATE (view);
- while (clutter_group_get_n_children (CLUTTER_GROUP (priv->map_layer)) > 0)
- {
- ChamplainTile *tile = CHAMPLAIN_TILE (clutter_group_get_nth_child (CLUTTER_GROUP (priv->map_layer), 0));
-
- clutter_container_remove_actor (CLUTTER_CONTAINER (priv->map_layer), CLUTTER_ACTOR (tile));
- }
+ clutter_group_remove_all (CLUTTER_GROUP (priv->map_layer));
view_load_visible_tiles (view);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]