From a346ff8d0290f78fe3dab4ea52bfa3ca312819fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 4 Nov 2021 20:18:42 +0100 Subject: Don't needlessly call setlocale() gtk_init_with_args() does it for us. --- fastiv.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fastiv.c') diff --git a/fastiv.c b/fastiv.c index 783540e..53c076e 100644 --- a/fastiv.c +++ b/fastiv.c @@ -19,7 +19,6 @@ #include #include -#include #include #include #include @@ -277,9 +276,6 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEvent *event, int main(int argc, char *argv[]) { - if (!setlocale(LC_CTYPE, "")) - exit_fatal("cannot set locale"); - gboolean show_version = FALSE; gchar **path_args = NULL; const GOptionEntry options[] = { -- cgit v1.2.3