X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/e890a6e6cdaec70e3231eff0b111c7232f42a140..96bcc8cbfb8bc23d7f86bc5aed9606f589eda69f:/src/main.c diff --git a/src/main.c b/src/main.c index 2331314a..e648bd85 100644 --- a/src/main.c +++ b/src/main.c @@ -25,6 +25,8 @@ #include +#include "modules.h" + #define MAX_WINDOWS 1024 static guint window_count = 0; @@ -72,7 +74,6 @@ static void open_window ( VikWindow *vw, const gchar **files ) if ( newvw ) while ( *files ) { vik_window_open_file ( newvw, *(files++), change_fn ); - files++; } } @@ -87,6 +88,9 @@ int main( int argc, char *argv[] ) gtk_init (&argc, &argv); + /* Init modules/plugins */ + modules_init(); + a_mapcache_init (); a_background_init ();