summaryrefslogtreecommitdiffstats
path: root/examples/rcc-gtk-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rcc-gtk-config.c')
-rw-r--r--examples/rcc-gtk-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/rcc-gtk-config.c b/examples/rcc-gtk-config.c
index 7758f09..d0775a6 100644
--- a/examples/rcc-gtk-config.c
+++ b/examples/rcc-gtk-config.c
@@ -38,15 +38,15 @@ int main (int argc, char *argv[])
if (argc<1) config = argv[0];
else config = argv[1];
- gtk_set_locale ();
- gtk_init (&argc, &argv);
-
rccInit();
rccUiInit();
ctx = rccCreateContext(NULL, 0, 0, classes, 0);
rccLoad(ctx, config);
uictx = rccUiCreateContext(ctx);
+ gtk_set_locale ();
+ gtk_init (&argc, &argv);
+
window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_policy(GTK_WINDOW (window1), FALSE, FALSE, TRUE);
gtk_window_set_title (GTK_WINDOW (window1), "LibRCC Config");