[libchamplain] Fix changing map source doesn't update the display



commit e804b0d07274c386490b791914c9606b7d394ed5
Author: JiÅ?í Techet <techet gmail com>
Date:   Fri Mar 19 01:39:04 2010 +0100

    Fix changing map source doesn't update the display
    
    Commit that was supposed to move all tile removal to
    view_load_visible_tiles() was a little bit too aggressive...
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain/champlain-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index cd21630..4ed62bb 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2455,6 +2455,8 @@ champlain_view_set_map_source (ChamplainView *view,
       g_object_notify (G_OBJECT (view), "zoom-level");
     }
 
+  clutter_group_remove_all (CLUTTER_GROUP (priv->map_layer));
+
   update_license (view);
   champlain_view_center_on (view, priv->latitude, priv->longitude);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]