diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2021-04-06 18:18:26 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2021-04-06 18:18:26 +0000 |
commit | c4953f0398e1f86b3723171a89c6c468365ef174 (patch) | |
tree | 5a2b8b61765637db7a7076d5992aa135c43b8672 | |
parent | 94aeed5fdb0758ad144615943f022170046070b8 (diff) | |
parent | 7f867a56e2fe94f46a5bb970297a92a40e61d40e (diff) | |
download | gdk-pixbuf-c4953f0398e1f86b3723171a89c6c468365ef174.tar.gz |
Merge branch 'wip/hadess/thumbnailer-locale' into 'master'
thumbnailer: Always initialise locale on startup
See merge request GNOME/gdk-pixbuf!110
-rw-r--r-- | thumbnailer/gnome-thumbnailer-skeleton.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/thumbnailer/gnome-thumbnailer-skeleton.c b/thumbnailer/gnome-thumbnailer-skeleton.c index 75c0f9c10..b45192645 100644 --- a/thumbnailer/gnome-thumbnailer-skeleton.c +++ b/thumbnailer/gnome-thumbnailer-skeleton.c @@ -24,6 +24,7 @@ #include <gio/gio.h> #include <gdk-pixbuf/gdk-pixbuf.h> +#include <locale.h> #include <math.h> #include <stdlib.h> @@ -238,6 +239,8 @@ int main (int argc, char **argv) gsize length; #endif + setlocale (LC_ALL, ""); + #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif |