diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-04 20:18:42 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-04 20:19:30 +0100 |
commit | a346ff8d0290f78fe3dab4ea52bfa3ca312819fc (patch) | |
tree | 4d5785bf94d0ff4bddb03e06a9501616c0bf141a /fastiv.c | |
parent | 9045898fb68296fbe2b2dae3016b1e8e9fe1f509 (diff) | |
download | fiv-a346ff8d0290f78fe3dab4ea52bfa3ca312819fc.tar.gz fiv-a346ff8d0290f78fe3dab4ea52bfa3ca312819fc.tar.xz fiv-a346ff8d0290f78fe3dab4ea52bfa3ca312819fc.zip |
Don't needlessly call setlocale()
gtk_init_with_args() does it for us.
Diffstat (limited to 'fastiv.c')
-rw-r--r-- | fastiv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -19,7 +19,6 @@ #include <glib/gstdio.h> #include <gtk/gtk.h> -#include <locale.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> @@ -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[] = { |