aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2010-05-18 18:09:45 +0800
committerRob Bradford <rob@linux.intel.com>2010-05-18 18:53:15 +0800
commitab223625f15bae56e5b32b4798e87cf0e4b04944 (patch)
tree3acf63b7dc1032b3f7b44a42c0a66c093670b932 /src
parentab73964666777182f59203b64b8d8309b996ced0 (diff)
downloadgsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.tar
gsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.tar.gz
gsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.tar.bz2
gsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.tar.lz
gsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.tar.xz
gsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.tar.zst
gsoc2013-empathy-ab223625f15bae56e5b32b4798e87cf0e4b04944.zip
Use library i18n method for source files included in shared library
Since these files are included in the g-c-c shared module we must use the version of the _ macro that includes the domain. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=618969
Diffstat (limited to 'src')
-rw-r--r--src/empathy-account-assistant.c3
-rw-r--r--src/empathy-accounts-common.c2
-rw-r--r--src/empathy-accounts-dialog.c2
-rw-r--r--src/empathy-auto-salut-account-helper.c4
-rw-r--r--src/empathy-import-dialog.c2
-rw-r--r--src/empathy-import-mc4-accounts.c4
-rw-r--r--src/empathy-import-widget.c4
7 files changed, 14 insertions, 7 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 9cfea5ab5..796f56527 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -20,7 +20,8 @@
/* empathy-account-assistant.c */
-#include <glib/gi18n.h>
+#include <config.h>
+#include <glib/gi18n-lib.h>
#include <telepathy-glib/util.h>
#include <gdk/gdkkeysyms.h>
diff --git a/src/empathy-accounts-common.c b/src/empathy-accounts-common.c
index 311a5f600..c6c18e834 100644
--- a/src/empathy-accounts-common.c
+++ b/src/empathy-accounts-common.c
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <gtk/gtk.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <unique/unique.h>
#include <telepathy-glib/account-manager.h>
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 59bad4796..3d8aed9fd 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -29,7 +29,7 @@
#include <stdlib.h>
#include <gtk/gtk.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <dbus/dbus-glib.h>
#include <telepathy-glib/account-manager.h>
diff --git a/src/empathy-auto-salut-account-helper.c b/src/empathy-auto-salut-account-helper.c
index 37aedb325..0a96316f1 100644
--- a/src/empathy-auto-salut-account-helper.c
+++ b/src/empathy-auto-salut-account-helper.c
@@ -19,8 +19,10 @@
* Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
*/
+#include <config.h>
+
#include <glib.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <telepathy-glib/account-manager.h>
#include <telepathy-glib/util.h>
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c
index 94c6fd765..e8b1ed87c 100644
--- a/src/empathy-import-dialog.c
+++ b/src/empathy-import-dialog.c
@@ -24,7 +24,7 @@
#include <glib.h>
#include <gtk/gtk.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <telepathy-glib/util.h>
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index b4bca6fdb..1d5fd674a 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -19,10 +19,12 @@
* Authors: Arnaud Maillet <arnaud.maillet@collabora.co.uk>
*/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <glib.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <gconf/gconf-client.h>
#include <telepathy-glib/account-manager.h>
#include <telepathy-glib/util.h>
diff --git a/src/empathy-import-widget.c b/src/empathy-import-widget.c
index a5bc0ef24..09898180a 100644
--- a/src/empathy-import-widget.c
+++ b/src/empathy-import-widget.c
@@ -22,6 +22,8 @@
/* empathy-import-widget.c */
+#include <config.h>
+
#include "empathy-import-dialog.h"
#include "empathy-import-widget.h"
#include "empathy-import-pidgin.h"
@@ -36,7 +38,7 @@
#include <telepathy-glib/account-manager.h>
#include <telepathy-glib/util.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
G_DEFINE_TYPE (EmpathyImportWidget, empathy_import_widget, G_TYPE_OBJECT)