a93a535019f445077fe72b7d4f5190ba148494df
[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 int
27 main (int argc, char *argv[])
28 {
29         HildonProgram *program;
30         GtkWidget *window;
31
32         hildon_gtk_init (&argc, &argv);
33
34         program = hildon_program_get_instance ();
35
36         window = hildon_window_new ();
37         hildon_program_add_window (program, HILDON_WINDOW (window));
38
39         gtk_widget_show_all (GTK_WIDGET (window));
40
41         gtk_main ();
42
43         return 0;
44 }