Add a desktop-independent gtk+ theme switcher for LXDE.
[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 add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
30
31 /*
32 * The following code was added by Glade to create one of each component
33 * (except popup menus), just so that you see something after building
34 * the project. Delete any components that you don't want shown initially.
35 */
36 dlg = create_dlg ();
37 gtk_widget_show (dlg);
38
39 gtk_main ();
40 return 0;
41 }
42