summaryrefslogtreecommitdiff
path: root/sysutils/nvclock/files/patch-src-gtk-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nvclock/files/patch-src-gtk-main.c')
-rw-r--r--sysutils/nvclock/files/patch-src-gtk-main.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/nvclock/files/patch-src-gtk-main.c b/sysutils/nvclock/files/patch-src-gtk-main.c
new file mode 100644
index 000000000000..26a69b2cf7ed
--- /dev/null
+++ b/sysutils/nvclock/files/patch-src-gtk-main.c
@@ -0,0 +1,22 @@
+--- src/gtk/main.c.orig 2008-08-16 17:39:31.000000000 +0200
++++ src/gtk/main.c 2008-08-16 17:40:29.000000000 +0200
+@@ -255,6 +255,9 @@
+ {
+ GtkWidget *window_nvclock;
+
++ gtk_set_locale ();
++ gtk_init (&argc, &argv);
++
+ /* Initialize nvclock. This must be done here instead of in the hardware backend
+ / because of the configuration file which gets initialized by init_nvclock.
+ */
+@@ -269,9 +272,6 @@
+ return 0;
+ }
+
+- gtk_set_locale ();
+- gtk_init (&argc, &argv);
+-
+ window_nvclock = create_window_main ();
+ gtk_widget_show (window_nvclock);
+