aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/tnef-attachments
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-04-02 00:34:16 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:52 +0800
commit1448ecee67aa8480bd1e39d47248ab13a5ba4fde (patch)
treed32874aed3f76d2c17cb5dba4e66fa657dbd91d6 /plugins/tnef-attachments
parentc55d5a308e798b7e24d10828cd54302e0698611f (diff)
downloadgsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.gz
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.bz2
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.lz
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.xz
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.zst
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.zip
Fix translations being boken by removing calls to bindtextdomain() from plugins.
It shouldn't be needed for plugins that live in the evolution source tree anyway since they should just use the translation domain they inherit from main().
Diffstat (limited to 'plugins/tnef-attachments')
-rw-r--r--plugins/tnef-attachments/Makefile.am2
-rw-r--r--plugins/tnef-attachments/tnef-plugin.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/plugins/tnef-attachments/Makefile.am b/plugins/tnef-attachments/Makefile.am
index 4cc8a30573..97240ce075 100644
--- a/plugins/tnef-attachments/Makefile.am
+++ b/plugins/tnef-attachments/Makefile.am
@@ -16,8 +16,6 @@ liborg_gnome_tnef_attachments_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/widgets \
- -DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\"" \
- -DLOCALEDIR="\"$(localedir)\"" \
$(GNOME_PLATFORM_CFLAGS) \
$(EVOLUTION_MAIL_CFLAGS) \
$(TNEF_CFLAGS)
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index 977189edb4..0f97512757 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -216,10 +216,6 @@ e_plugin_lib_enable (EPlugin *ep, gint enable)
return 0;
loaded = TRUE;
- if (enable) {
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
- bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
- }
return 0;
}