]> Pileus Git - grits/blobdiff - src/main.c
Adding copyright statements and a few bug fixes (hacks) for shading radar data
[grits] / src / main.c
index f88cdbe9287d439eb2e72166a7fce1497e5ed7e2..9bd73322f028494e962a40a03fdfb8c713df907e 100644 (file)
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * 
+ * 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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <config.h>
 #include <gtk/gtk.h>
 #include <gtk/gtkgl.h>
@@ -20,11 +37,11 @@ int main(int argc, char *argv[])
        //AWeatherView *view = aweather_gui_get_view(gui);
 
        /* Load plugins */
-       radar_init  (gui);
-        ridge_init  (gui);
        //example_init(gui);
+        ridge_init  (gui);
+       radar_init  (gui);
 
-       gtk_widget_show_all(GTK_WIDGET(aweather_gui_get_window(gui)));
+       gtk_widget_show_all(aweather_gui_get_widget(gui, "window"));
        gtk_main();
 
        return 0;