]> Pileus Git - grits/blobdiff - src/gis_test.c
Update copyright and email address
[grits] / src / gis_test.c
index 83252e0ad8a14a5b11f5eb89a707dd5224b09f85..97269949731d743cd008199f4c606accea41869b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -59,10 +59,8 @@ int main(int argc, char **argv)
        gtk_widget_show_all(window);
        gdk_threads_leave();
 
-       gis_plugins_load(plugins, "bmng", viewer, prefs);
-       gis_plugins_load(plugins, "srtm", viewer, prefs);
-       gis_plugins_load(plugins, "env",  viewer, prefs);
-       gis_plugins_load(plugins, "test", viewer, prefs);
+       while (*argv)
+               gis_plugins_load(plugins, *argv++, viewer, prefs);
 
        gdk_threads_enter();
        gtk_main();