[gnome-settings-daemon] media-keys: Remove ifdef's for i18n support
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: Remove ifdef's for i18n support
- Date: Wed, 14 Dec 2011 18:56:06 +0000 (UTC)
commit 88b0a1f285ce6b60de84886e6a865f7dfa6b8fa8
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 14 14:35:25 2011 +0000
media-keys: Remove ifdef's for i18n support
plugins/media-keys/test-media-keys.c | 4 ----
plugins/media-keys/test-media-window.c | 4 ----
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/plugins/media-keys/test-media-keys.c b/plugins/media-keys/test-media-keys.c
index 4c882fe..166c01b 100644
--- a/plugins/media-keys/test-media-keys.c
+++ b/plugins/media-keys/test-media-keys.c
@@ -37,13 +37,9 @@ main (int argc,
{
GError *error;
-#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
-# ifdef HAVE_BIND_TEXTDOMAIN_CODESET
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-# endif
textdomain (GETTEXT_PACKAGE);
-#endif
g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c
index f21fa30..41f7f6c 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -132,13 +132,9 @@ main (int argc,
{
GError *error = NULL;
-#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
-# ifdef HAVE_BIND_TEXTDOMAIN_CODESET
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-# endif
textdomain (GETTEXT_PACKAGE);
-#endif
if (! gtk_init_with_args (&argc, &argv, NULL, NULL, NULL, &error)) {
fprintf (stderr, "%s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]