[Xfce4-commits] <midori:master> No need for setlocale, GTK+ does this automatically

Christian Dywan noreply at xfce.org
Sat Sep 1 02:12:03 CEST 2012


Updating branch refs/heads/master
         to 287fc53da92213a65fb0f249251cc5c60139568a (commit)
       from b955713b4e343efe4fba8617de46366313b3ae5e (commit)

commit 287fc53da92213a65fb0f249251cc5c60139568a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Aug 31 21:58:11 2012 +0200

    No need for setlocale, GTK+ does this automatically

 midori/midori-app.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/midori/midori-app.c b/midori/midori-app.c
index bd6590f..cc43b7e 100644
--- a/midori/midori-app.c
+++ b/midori/midori-app.c
@@ -1418,7 +1418,6 @@ midori_app_setup (gint               *argc,
     midori_paths_init_exec_path (*argument_vector, *argc);
 
     #if ENABLE_NLS
-    setlocale (LC_ALL, "");
     if (g_getenv ("MIDORI_NLSPATH"))
         bindtextdomain (GETTEXT_PACKAGE, g_getenv ("MIDORI_NLSPATH"));
     else


More information about the Xfce4-commits mailing list