diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-09-05 07:51:50 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-09-05 07:51:50 +0000 |
commit | 2cb319feb6e120ba66e108eb95455d8407ab25c8 (patch) | |
tree | b92eefee137ba11695b77752a6c69c0b1fb3605b /sysutils/nvclock/files/patch-src-gtk-main.c | |
parent | - Update to 1.11.2 (diff) |
- Update to 0.8b3a
PR: ports/126786
Submitted by: Bernhard Fruehlich <decke@bluelife.at>
Approved by: Samy Al Bahra <sbahra@gwu.edu> (maintainer)
Diffstat (limited to 'sysutils/nvclock/files/patch-src-gtk-main.c')
-rw-r--r-- | sysutils/nvclock/files/patch-src-gtk-main.c | 22 |
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); + |