]> git.street.me.uk Git - andy/viking.git/blobdiff - src/main.c
Fix error handling in go-to feature
[andy/viking.git] / src / main.c
index 81cd6ea3e8d423890d3d29e646c5090a341648fd..9f78ce65a6b39cec2487d258bb7afec42a4b2471 100644 (file)
@@ -31,6 +31,7 @@
 #include "curl_download.h"
 #include "preferences.h"
 #include "globals.h"
+#include "vikmapslayer.h"
 
 #ifdef VIK_CONFIG_GEOCACHES
 void a_datasource_gc_init();
@@ -165,6 +166,7 @@ int main( int argc, char *argv[] )
   if (!vik_debug)
     g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, mute_log, NULL);
 
+  a_download_init();
   curl_download_init();
 
   a_preferences_init ();
@@ -174,6 +176,7 @@ int main( int argc, char *argv[] )
   /* Init modules/plugins */
   modules_init();
 
+  maps_layer_init ();
   a_mapcache_init ();
   a_background_init ();