Base the task model around an auth object, so we can make the model reflect the
[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 <string.h>
23
24 #include <glib.h>
25 #include <gtk/gtk.h>
26 #include <hildon/hildon.h>
27
28 #include "milk-main.h"
29 #include "milk-main-window.h"
30
31 int
32 main (int argc, char *argv[])
33 {
34         MilkApp app;
35
36         g_thread_init (NULL);
37         hildon_gtk_init (&argc, &argv);
38
39         memset (&app, 0, sizeof (app));
40         app.main_window = milk_main_window_get_default ();
41
42         gtk_widget_show_all (app.main_window);
43
44         gtk_main ();
45
46         return 0;
47 }