[libchamplain] Refresh tiles on new map data
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain] Refresh tiles on new map data
- Date: Sun, 24 Jan 2010 20:08:55 +0000 (UTC)
commit a0a439a5b8840d30eb68968eab9178d68832a999
Author: Simon Wenner <simon wenner ch>
Date: Wed Jul 8 01:15:36 2009 +0200
Refresh tiles on new map data
champlain/champlain-memphis-map-source.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-memphis-map-source.c b/champlain/champlain-memphis-map-source.c
index c3af292..71cd418 100644
--- a/champlain/champlain-memphis-map-source.c
+++ b/champlain/champlain-memphis-map-source.c
@@ -145,6 +145,9 @@ map_data_changed_cb (ChamplainMapDataSource *map_data_source,
g_static_rw_lock_writer_lock (&MemphisLock);
memphis_renderer_set_map (priv->renderer, map);
g_static_rw_lock_writer_unlock (&MemphisLock);
+
+ g_signal_emit_by_name (CHAMPLAIN_MAP_SOURCE (map_source),
+ "reload-tiles", NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]