summaryrefslogtreecommitdiff
path: root/capplets/time-admin
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-13 13:12:57 +0100
committerraveit65 <[email protected]>2021-02-16 14:07:47 +0100
commitd83e8fb046e87e9f32f3d8960fa19f4614ea3e42 (patch)
tree611a5f69d9b25b2c13e2469dcafd66551c36309a /capplets/time-admin
parente50a1907e04a320bf9e054182b8dbeb4c52eb076 (diff)
downloadmate-control-center-d83e8fb046e87e9f32f3d8960fa19f4614ea3e42.tar.bz2
mate-control-center-d83e8fb046e87e9f32f3d8960fa19f4614ea3e42.tar.xz
time-admin: remove unused includes
Diffstat (limited to 'capplets/time-admin')
-rw-r--r--capplets/time-admin/src/time-share.h2
-rw-r--r--capplets/time-admin/src/time-zone.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/capplets/time-admin/src/time-share.h b/capplets/time-admin/src/time-share.h
index 048455e2..b19a23f8 100644
--- a/capplets/time-admin/src/time-share.h
+++ b/capplets/time-admin/src/time-share.h
@@ -29,8 +29,6 @@
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
-#include <locale.h>
-#include <libintl.h>
#include <gio/gio.h>
extern int TimeoutFlag;
diff --git a/capplets/time-admin/src/time-zone.c b/capplets/time-admin/src/time-zone.c
index caeb2ac6..e359cbe0 100644
--- a/capplets/time-admin/src/time-zone.c
+++ b/capplets/time-admin/src/time-zone.c
@@ -36,10 +36,9 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#include <libintl.h>
#include <glib/gi18n.h>
-#include <libmate-desktop/mate-languages.h>
+#include <libmate-desktop/mate-languages.h> /* mate_get_country_from_code */
#define DEFAULT_TZ "Europe/London"
#define BACKFILE TIMPZONEDIR "backward"