[empathy] -Fix use of include <config.h> to make sure translations work
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] -Fix use of include <config.h> to make sure translations work
- Date: Mon, 4 Apr 2011 13:47:04 +0000 (UTC)
commit f0f99ffaa08240fbb72d7eed198368fd22fe4c47
Author: Kjartan Maraas <kmaraas gnome org>
Date: Tue Mar 29 19:03:09 2011 +0200
-Fix use of include <config.h> to make sure translations work
libempathy-gtk/empathy-contact-blocking-dialog.c | 4 ++++
libempathy-gtk/empathy-contact-search-dialog.c | 4 ++++
libempathy/empathy-account-settings.c | 3 +++
libempathy/empathy-auth-factory.c | 4 ++++
libempathy/empathy-connection-managers.c | 3 +++
libempathy/empathy-debug.h | 3 ---
libempathy/empathy-ft-handler.c | 4 ++++
libempathy/empathy-presence-manager.c | 6 ++++--
libempathy/empathy-server-sasl-handler.c | 4 ++++
libempathy/empathy-server-tls-handler.c | 4 ++++
libempathy/empathy-tp-streamed-media.c | 4 ++++
src/empathy-invite-participant-dialog.c | 4 ++++
src/empathy-streamed-media-window.c | 3 +++
13 files changed, 45 insertions(+), 5 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-blocking-dialog.c b/libempathy-gtk/empathy-contact-blocking-dialog.c
index a46820c..7fbdd14 100644
--- a/libempathy-gtk/empathy-contact-blocking-dialog.c
+++ b/libempathy-gtk/empathy-contact-blocking-dialog.c
@@ -22,6 +22,10 @@
* Authors: Danielle Madeley <danielle madeley collabora co uk>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <libempathy/empathy-utils.h>
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c
index aeb0767..6e9473b 100644
--- a/libempathy-gtk/empathy-contact-search-dialog.c
+++ b/libempathy-gtk/empathy-contact-search-dialog.c
@@ -23,6 +23,10 @@
* Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <telepathy-glib/telepathy-glib.h>
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 4005d27..12fbb55 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c
index 36f7fda..218b2dc 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "empathy-auth-factory.h"
#include <telepathy-glib/interfaces.h>
diff --git a/libempathy/empathy-connection-managers.c b/libempathy/empathy-connection-managers.c
index 30a9b84..c821bdc 100644
--- a/libempathy/empathy-connection-managers.c
+++ b/libempathy/empathy-connection-managers.c
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/libempathy/empathy-debug.h b/libempathy/empathy-debug.h
index 44e1977..d3db917 100644
--- a/libempathy/empathy-debug.h
+++ b/libempathy/empathy-debug.h
@@ -21,9 +21,6 @@
#ifndef __EMPATHY_DEBUG_H__
#define __EMPATHY_DEBUG_H__
-#include "config.h"
-
-
#include <glib.h>
#include <telepathy-glib/debug.h>
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 1c3f420..af0233a 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -21,6 +21,10 @@
/* empathy-ft-handler.c */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib.h>
#include <glib/gi18n.h>
#include <telepathy-glib/account-channel-request.h>
diff --git a/libempathy/empathy-presence-manager.c b/libempathy/empathy-presence-manager.c
index c3eae65..79d7046 100644
--- a/libempathy/empathy-presence-manager.c
+++ b/libempathy/empathy-presence-manager.c
@@ -18,9 +18,11 @@
* Authors: Xavier Claessens <xclaesse gmail com>
*/
-#include "empathy-presence-manager.h"
-
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
+#include "empathy-presence-manager.h"
#include <string.h>
diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c
index 8c7fe88..2fbaed7 100644
--- a/libempathy/empathy-server-sasl-handler.c
+++ b/libempathy/empathy-server-sasl-handler.c
@@ -17,6 +17,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "empathy-server-sasl-handler.h"
#include <telepathy-glib/telepathy-glib.h>
diff --git a/libempathy/empathy-server-tls-handler.c b/libempathy/empathy-server-tls-handler.c
index 31afa27..774fba9 100644
--- a/libempathy/empathy-server-tls-handler.c
+++ b/libempathy/empathy-server-tls-handler.c
@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "empathy-server-tls-handler.h"
#include <telepathy-glib/interfaces.h>
diff --git a/libempathy/empathy-tp-streamed-media.c b/libempathy/empathy-tp-streamed-media.c
index b79e4b6..302d344 100644
--- a/libempathy/empathy-tp-streamed-media.c
+++ b/libempathy/empathy-tp-streamed-media.c
@@ -20,6 +20,10 @@
* Xavier Claessens <xclaesse gmail com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <telepathy-glib/proxy-subclass.h>
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index da75e72..7621376 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -9,6 +9,10 @@
* Danielle Madeley <danielle madeley collabora co uk>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include "empathy-invite-participant-dialog.h"
diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c
index bb6df68..81cec44 100644
--- a/src/empathy-streamed-media-window.c
+++ b/src/empathy-streamed-media-window.c
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]