]> git.street.me.uk Git - andy/viking.git/blobdiff - src/main.c
Show distance axis grids on distance graphs.
[andy/viking.git] / src / main.c
index b44957eafd72f1f05bcf200c886938a407932928..f20fdcf8c67b693ebfa6e21248ccb362315ff9cb 100644 (file)
@@ -35,7 +35,7 @@
 #include "globals.h"
 #include "vikmapslayer.h"
 #include "vikrouting.h"
 #include "globals.h"
 #include "vikmapslayer.h"
 #include "vikrouting.h"
-#include "util.h"
+#include "vikutils.h"
 
 #ifdef VIK_CONFIG_GEOCACHES
 void a_datasource_gc_init();
 
 #ifdef VIK_CONFIG_GEOCACHES
 void a_datasource_gc_init();
@@ -198,10 +198,13 @@ int main( int argc, char *argv[] )
 
   gdk_threads_enter ();
 
 
   gdk_threads_enter ();
 
+  // Ask for confirmation of default settings on first run
+  vu_set_auto_features_on_first_run ();
+
   /* Create the first window */
   first_window = vik_window_new_window();
 
   /* Create the first window */
   first_window = vik_window_new_window();
 
-  check_latest_version ( GTK_WINDOW(first_window) );
+  vu_check_latest_version ( GTK_WINDOW(first_window) );
 
   while ( ++i < argc ) {
     if ( strcmp(argv[i],"--") == 0 && !dashdash_already )
 
   while ( ++i < argc ) {
     if ( strcmp(argv[i],"--") == 0 && !dashdash_already )