diff --git a/src/main.c b/src/main.c index 3a6edd0..6731e74 100644 --- a/src/main.c +++ b/src/main.c @@ -13,7 +13,6 @@ #endif #include -#include #include #include @@ -200,11 +199,8 @@ int main (int argc, char *argv[]) GApplication *app; GError *error = NULL; GOptionContext *opt_context; -#ifdef ENABLE_NLS - bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); -#endif + + xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8"); gtk_init (&argc, &argv); g_set_application_name (_("Task Manager"));