[gnome-settings-daemon] orientation: Remove ifdef's for i18n support



commit 7386e5cf33da16ea813abfd920bbc577ace54ae0
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 14 14:36:01 2011 +0000

    orientation: Remove ifdef's for i18n support

 plugins/orientation/test-orientation.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plugins/orientation/test-orientation.c b/plugins/orientation/test-orientation.c
index ffd87c1..51c6328 100644
--- a/plugins/orientation/test-orientation.c
+++ b/plugins/orientation/test-orientation.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
 
         error = NULL;
         if (! gtk_init_with_args (&argc, &argv, NULL, NULL, NULL, &error)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]