[libchamplain] Silence the memphis parsing debug output



commit 142af8bda58f2b9d5faec866604029704921bdd0
Author: Simon Wenner <simon wenner ch>
Date:   Fri Jun 26 12:31:16 2009 +0200

    Silence the memphis parsing debug output

 champlain/champlain-memphis-map-source.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/champlain/champlain-memphis-map-source.c b/champlain/champlain-memphis-map-source.c
index 0efa3f7..139d2b6 100644
--- a/champlain/champlain-memphis-map-source.c
+++ b/champlain/champlain-memphis-map-source.c
@@ -297,9 +297,6 @@ champlain_memphis_map_source_new_full (ChamplainMapSourceDesc *desc,
   priv->map_data_source = g_object_ref (map_data_source);
 
   priv->rules = memphis_rule_set_new ();
-  memphis_rule_set_load_from_file (priv->rules, DEFAULT_RULES_PATH);
-  // TODO: Do we want to ship a default rule-set?
-
   map = champlain_map_data_source_get_map_data (priv->map_data_source);
 
   priv->renderer = memphis_renderer_new_full (priv->rules, map);
@@ -307,6 +304,9 @@ champlain_memphis_map_source_new_full (ChamplainMapSourceDesc *desc,
   memphis_renderer_set_debug_level (priv->renderer,
       MEMPHIS_INTERNAL_DEBUG_LEVEL);
 
+  memphis_rule_set_load_from_file (priv->rules, DEFAULT_RULES_PATH);
+  // TODO: Do we want to ship a default rule-set?
+
   priv->thpool = g_thread_pool_new (memphis_worker_thread, priv->renderer,
       MAX_THREADS, FALSE, NULL);
 



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