d17e95c4987fc357299d845dea0f1d45da76a540
[milk] / src / milk-main.c
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License as
4  * published by the Free Software Foundation; either version 2 of the
5  * License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10  * General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public
13  * License along with this program; if not, write to the
14  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
15  * Boston, MA  02110-1301  USA
16  *
17  * Authors: Travis Reitter <treitter@gmail.com>
18  */
19
20 #include <config.h>
21
22 #include <glib.h>
23 #include <gtk/gtk.h>
24 #include <hildon/hildon.h>
25
26 #include "milk-main.h"
27 #include "milk-main-window.h"
28
29 int
30 main (int argc, char *argv[])
31 {
32         MilkApp app;
33
34         hildon_gtk_init (&argc, &argv);
35
36         memset (&app, 0, sizeof (app));
37         app.main_window = milk_main_window_new ();
38
39         gtk_widget_show_all (app.main_window);
40
41         gtk_main ();
42
43         return 0;
44 }