[libchamplain/libchamplain-0-4: 1/10] Emit notify::map-source when modifying the map source



commit dea3656affab3b8a2a5574552d7982a43bf3a1b8
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Fri Oct 16 16:25:59 2009 -0400

    Emit notify::map-source when modifying the map source

 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 53fb52a..cb6f3a7 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2077,6 +2077,8 @@ champlain_view_set_map_source (ChamplainView *view,
   view_load_visible_tiles (view);
   clutter_container_add_actor (CLUTTER_CONTAINER (priv->map_layer), group);
 
+  g_object_notify (G_OBJECT (view), "map-source");
+
   update_license (view);
   g_idle_add (marker_reposition, view);
   view_tiles_reposition (view);



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