summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-04-04 15:50:58 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-04-04 15:50:58 +0200
commitcf5ae6bf0560a62e108eb43b172e1ee837d0aa9c (patch)
tree1463118a3ed37fd9cbb587afbea4c3725653023c
parentf0f99ffaa08240fbb72d7eed198368fd22fe4c47 (diff)
downloadempathy-cf5ae6bf0560a62e108eb43b172e1ee837d0aa9c.tar.gz
Revert "-Fix use of include <config.h> to make sure translations work"
This reverts commit f0f99ffaa08240fbb72d7eed198368fd22fe4c47. Sorry, I didn't mean to push that...
-rw-r--r--libempathy-gtk/empathy-contact-blocking-dialog.c4
-rw-r--r--libempathy-gtk/empathy-contact-search-dialog.c4
-rw-r--r--libempathy/empathy-account-settings.c3
-rw-r--r--libempathy/empathy-auth-factory.c4
-rw-r--r--libempathy/empathy-connection-managers.c3
-rw-r--r--libempathy/empathy-debug.h3
-rw-r--r--libempathy/empathy-ft-handler.c4
-rw-r--r--libempathy/empathy-presence-manager.c6
-rw-r--r--libempathy/empathy-server-sasl-handler.c4
-rw-r--r--libempathy/empathy-server-tls-handler.c4
-rw-r--r--libempathy/empathy-tp-streamed-media.c4
-rw-r--r--src/empathy-invite-participant-dialog.c4
-rw-r--r--src/empathy-streamed-media-window.c3
13 files changed, 5 insertions, 45 deletions
diff --git a/libempathy-gtk/empathy-contact-blocking-dialog.c b/libempathy-gtk/empathy-contact-blocking-dialog.c
index 7fbdd1466..a46820c5d 100644
--- a/libempathy-gtk/empathy-contact-blocking-dialog.c
+++ b/libempathy-gtk/empathy-contact-blocking-dialog.c
@@ -22,10 +22,6 @@
* 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 6e9473b8b..aeb0767d3 100644
--- a/libempathy-gtk/empathy-contact-search-dialog.c
+++ b/libempathy-gtk/empathy-contact-search-dialog.c
@@ -23,10 +23,6 @@
* 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 12fbb5564..4005d2790 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -18,9 +18,6 @@
* 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 218b2dc2c..36f7fda55 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -18,10 +18,6 @@
* 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 c821bdc0c..30a9b8471 100644
--- a/libempathy/empathy-connection-managers.c
+++ b/libempathy/empathy-connection-managers.c
@@ -18,9 +18,6 @@
* 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 d3db917b9..44e197792 100644
--- a/libempathy/empathy-debug.h
+++ b/libempathy/empathy-debug.h
@@ -21,6 +21,9 @@
#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 af0233aef..1c3f4209e 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -21,10 +21,6 @@
/* 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 79d704659..c3eae6583 100644
--- a/libempathy/empathy-presence-manager.c
+++ b/libempathy/empathy-presence-manager.c
@@ -18,12 +18,10 @@
* Authors: Xavier Claessens <xclaesse@gmail.com>
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include "empathy-presence-manager.h"
+#include <config.h>
+
#include <string.h>
#include <glib/gi18n-lib.h>
diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c
index 2fbaed7ae..8c7fe8847 100644
--- a/libempathy/empathy-server-sasl-handler.c
+++ b/libempathy/empathy-server-sasl-handler.c
@@ -17,10 +17,6 @@
* 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 774fba995..31afa276c 100644
--- a/libempathy/empathy-server-tls-handler.c
+++ b/libempathy/empathy-server-tls-handler.c
@@ -18,10 +18,6 @@
* 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 302d344a3..b79e4b6b5 100644
--- a/libempathy/empathy-tp-streamed-media.c
+++ b/libempathy/empathy-tp-streamed-media.c
@@ -20,10 +20,6 @@
* 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 7621376bc..da75e72cd 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -9,10 +9,6 @@
* 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 81cec4492..bb6df685c 100644
--- a/src/empathy-streamed-media-window.c
+++ b/src/empathy-streamed-media-window.c
@@ -18,9 +18,6 @@
* 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>