681356e2a3d35e71ba18097b9b6a1e88943a5ec7
[moonshot-ui.git] / src / moonshot-window.vala
1 using Gtk;
2
3 class MainWindow : Window
4 {
5     public MainWindow()
6     {
7         destroy.connect(Gtk.main_quit);
8     }
9
10     public static int main(string[] args)
11     {
12         Gtk.init(ref args);
13
14         Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.LOCALEDIR);
15         Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
16         Intl.textdomain (Config.GETTEXT_PACKAGE);
17
18         var window = new MainWindow();
19         window.show();
20
21         Gtk.main();
22
23         return 0;
24     }
25 }