X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fmain.c;h=cf13c87e1370f9bcf78b1c2df6f31f711e6433c1;hp=22cc7f04f00ca7b04c8fc10161a5bab174202bd8;hb=d97d97d3896bc8299adf2e7aaa5cc38e2611f395;hpb=d1d479adc78f455398046e115ffd382954d3cc82 diff --git a/src/main.c b/src/main.c index 22cc7f0..cf13c87 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2009 Andy Spencer + * + * 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 . + */ + #include #include #include @@ -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); + //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;