Load icon and gtk+ themes on startup.
[lxde/lxappearance.git] / src / main.c
1 /*
2 * Initial main.c file generated by Glade. Edit as required.
3 * Glade will not overwrite this file.
4 */
5
6 #ifdef HAVE_CONFIG_H
7 # include <config.h>
8 #endif
9
10 #include <gtk/gtk.h>
11
12 #include "main-dlg-ui.h"
13 #include "glade-support.h"
14
15 int
16 main (int argc, char *argv[])
17 {
18 GtkWidget *dlg;
19
20 #ifdef ENABLE_NLS
21 bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
22 bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
23 textdomain (GETTEXT_PACKAGE);
24 #endif
25
26 gtk_set_locale ();
27 gtk_init (&argc, &argv);
28
29 dlg = create_dlg ();
30 main_dlg_init( dlg );
31 gtk_widget_show (dlg);
32
33 gtk_main ();
34 return 0;
35 }
36