[libchamplain] Remove background zoom layer when all tiles loaded
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Remove background zoom layer when all tiles loaded
- Date: Thu, 2 May 2013 20:27:56 +0000 (UTC)
commit f5d26263bef757b20961d4dd318019eeb5f8ed39
Author: Jiří Techet <techet gmail com>
Date: Thu May 2 22:27:08 2013 +0200
Remove background zoom layer when all tiles loaded
champlain/champlain-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 8b45b2e..1dd077d 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2006,6 +2006,7 @@ tile_state_notify (ChamplainTile *tile,
priv->tiles_loading--;
if (priv->tiles_loading == 0)
{
+ clutter_actor_destroy_all_children (priv->zoom_layer);
priv->state = CHAMPLAIN_STATE_DONE;
g_object_notify (G_OBJECT (view), "state");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]