X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmilk-main.c;fp=src%2Fmilk-main.c;h=7b551e8faa4cdbb8d903ac31df78a362a5dc51eb;hb=4acb64750b428f966d3d054384cae4eb0fcbf5ae;hp=0000000000000000000000000000000000000000;hpb=db06fdc37c61777d75f3a9edb26a13089181d7f7;p=milk diff --git a/src/milk-main.c b/src/milk-main.c new file mode 100644 index 0000000..7b551e8 --- /dev/null +++ b/src/milk-main.c @@ -0,0 +1,47 @@ +/* + * 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 2 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, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * Authors: Travis Reitter + */ + +#include + +#include + +#include +#include +#include + +#include "milk-main.h" +#include "milk-main-window.h" + +int +main (int argc, char *argv[]) +{ + MilkApp app; + + g_thread_init (NULL); + hildon_gtk_init (&argc, &argv); + + memset (&app, 0, sizeof (app)); + app.main_window = milk_main_window_get_default (); + + gtk_widget_show_all (app.main_window); + + gtk_main (); + + return 0; +}