[unique] Remove unused i18n support



commit 3fc11a29ea82ad70625aff9939d001b7efe88869
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Sun Mar 27 10:07:44 2011 +0100

    Remove unused i18n support

 Makefile.am            |    2 +-
 configure.ac           |   13 -------------
 po/.gitignore          |    3 ---
 unique/uniqueapp.c     |    1 -
 unique/uniquebackend.c |    2 --
 unique/uniquemessage.c |    1 -
 6 files changed, 1 insertions(+), 21 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index bf3ccf5..f9a6ba5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent
 
 ACLOCAL_AMFLAGS = -I build/autotools
 
-SUBDIRS = build unique tests doc po
+SUBDIRS = build unique tests doc
 
 unique-3.0.pc: unique.pc
 	$(QUIET_GEN)cp -f $< $@
diff --git a/configure.ac b/configure.ac
index b56a10d..9b5f324 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,18 +232,6 @@ AS_CASE([$enable_debug],
 
 AC_SUBST(UNIQUE_DEBUG_CFLAGS)
 
-# i18n stuff
-ALL_LINGUAS=""
-AM_GLIB_GNU_GETTEXT
-
-GETTEXT_PACKAGE=unique
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],
-                   ["$GETTEXT_PACKAGE"],
-                   [Define the gettext package to be used])
-
-AM_GLIB_DEFINE_LOCALEDIR(UNIQUE_LOCALEDIR)
-
 # introspection
 GOBJECT_INTROSPECTION_CHECK([0.9.0])
 
@@ -271,7 +259,6 @@ AC_CONFIG_FILES([
         unique/dbus/Makefile
         unique/gdbus/Makefile
         tests/Makefile
-        po/Makefile.in
 ])
 
 AC_OUTPUT
diff --git a/unique/uniqueapp.c b/unique/uniqueapp.c
index 911d2b7..2f09a1a 100644
--- a/unique/uniqueapp.c
+++ b/unique/uniqueapp.c
@@ -56,7 +56,6 @@
 #include <string.h>
 
 #include <glib.h>
-#include <glib/gi18n-lib.h>
 
 #include <gdk/gdk.h>
 
diff --git a/unique/uniquebackend.c b/unique/uniquebackend.c
index 10714e6..a407f72 100644
--- a/unique/uniquebackend.c
+++ b/unique/uniquebackend.c
@@ -35,8 +35,6 @@
 #include <errno.h>
 #include <time.h>
 
-#include <glib/gi18n.h>
-
 #include <gdk/gdk.h>
 #ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
diff --git a/unique/uniquemessage.c b/unique/uniquemessage.c
index bbe7338..e39b531 100644
--- a/unique/uniquemessage.c
+++ b/unique/uniquemessage.c
@@ -25,7 +25,6 @@
 #include <string.h>
 
 #include <glib.h>
-#include <glib/gi18n.h>
 
 #include "uniquemessage.h"
 #include "uniqueinternals.h"



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