summaryrefslogtreecommitdiff
path: root/capplets/time-admin
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/time-admin')
-rw-r--r--capplets/time-admin/src/main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/capplets/time-admin/src/main.c b/capplets/time-admin/src/main.c
index fe16b7c7..dfe934e9 100644
--- a/capplets/time-admin/src/main.c
+++ b/capplets/time-admin/src/main.c
@@ -17,6 +17,7 @@
#include <glib/gi18n.h>
#include <polkit/polkit.h>
+#include "capplet-util.h"
#include "time-tool.h"
#include "time-zone.h"
#include "time-map.h"
@@ -433,16 +434,12 @@ EXIT:
g_error_free(error);
return FALSE;
}
+
int main(int argc, char **argv)
{
TimeAdmin ta;
- setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- textdomain (GETTEXT_PACKAGE);
-
- gtk_init(&argc, &argv);
+ capplet_init (NULL, &argc, &argv);
/* Create the main window */
InitMainWindow(&ta);