telepathy-idle: Include config.h in each source file

Simon McVittie smcv at kemper.freedesktop.org
Wed Apr 24 09:02:39 PDT 2013


Module: telepathy-idle
Branch: master
Commit: b0dc6e3fb9754354b4b29476217c77277d16dd23
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=b0dc6e3fb9754354b4b29476217c77277d16dd23

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Mon Apr 22 15:06:41 2013 +0100

Include config.h in each source file

Among other effects, this makes GLIB_VERSION_MIN_REQUIRED effective.

Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

---

 src/idle-contact-info.c            |    1 +
 src/idle-ctcp.c                    |    1 +
 src/idle-debug.c                   |    1 +
 src/idle-handles.c                 |    1 +
 src/idle-im-manager.c              |    2 ++
 src/idle-roomlist-channel.c        |    1 +
 src/idle-roomlist-manager.c        |    1 +
 src/idle-server-connection.c       |    1 +
 src/idle-text.c                    |    1 +
 src/room-config.c                  |    1 +
 tests/test-ctcp-kill-blingbling.c  |    2 ++
 tests/test-ctcp-tokenize.c         |    2 ++
 tests/test-text-encode-and-split.c |    2 ++
 13 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/idle-contact-info.c b/src/idle-contact-info.c
index b87774c..0a9f40a 100644
--- a/src/idle-contact-info.c
+++ b/src/idle-contact-info.c
@@ -17,6 +17,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
 #include "idle-contact-info.h"
 
 #include <telepathy-glib/gtypes.h>
diff --git a/src/idle-ctcp.c b/src/idle-ctcp.c
index 6285e69..f282360 100644
--- a/src/idle-ctcp.c
+++ b/src/idle-ctcp.c
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
 #include "idle-ctcp.h"
 
 #include <ctype.h>
diff --git a/src/idle-debug.c b/src/idle-debug.c
index 156dc3b..e8a2854 100644
--- a/src/idle-debug.c
+++ b/src/idle-debug.c
@@ -17,6 +17,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
 #include "idle-debug.h"
 
 #include <stdarg.h>
diff --git a/src/idle-handles.c b/src/idle-handles.c
index 3aa07d9..96cb3c8 100644
--- a/src/idle-handles.c
+++ b/src/idle-handles.c
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
 #include "idle-handles.h"
 
 #include <glib.h>
diff --git a/src/idle-im-manager.c b/src/idle-im-manager.c
index 71fe7a0..d883c74 100644
--- a/src/idle-im-manager.c
+++ b/src/idle-im-manager.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "idle-im-manager.h"
 
 #include <telepathy-glib/channel-manager.h>
diff --git a/src/idle-roomlist-channel.c b/src/idle-roomlist-channel.c
index f85adb6..4dc53d1 100644
--- a/src/idle-roomlist-channel.c
+++ b/src/idle-roomlist-channel.c
@@ -20,6 +20,7 @@
  *  Jonathon Jongsma <jonathon.jongsma at collabora.co.uk>
  */
 
+#include "config.h"
 #include "idle-roomlist-channel.h"
 
 #include <time.h>
diff --git a/src/idle-roomlist-manager.c b/src/idle-roomlist-manager.c
index 36594e5..0dbe133 100644
--- a/src/idle-roomlist-manager.c
+++ b/src/idle-roomlist-manager.c
@@ -20,6 +20,7 @@
  *  Jonathon Jongsma <jonathon.jongsma at collabora.co.uk>
  */
 
+#include "config.h"
 #include "idle-roomlist-manager.h"
 
 #include <telepathy-glib/channel-manager.h>
diff --git a/src/idle-server-connection.c b/src/idle-server-connection.c
index 700b5f8..8a4bb98 100644
--- a/src/idle-server-connection.c
+++ b/src/idle-server-connection.c
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
 #include "idle-server-connection.h"
 
 #include <string.h>
diff --git a/src/idle-text.c b/src/idle-text.c
index a168787..e54b487 100644
--- a/src/idle-text.c
+++ b/src/idle-text.c
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
 #include "idle-text.h"
 
 #include <time.h>
diff --git a/src/room-config.c b/src/room-config.c
index aedff67..30e413d 100644
--- a/src/room-config.c
+++ b/src/room-config.c
@@ -17,6 +17,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "config.h"
 #include "room-config.h"
 #include "idle-muc-channel.h"
 
diff --git a/tests/test-ctcp-kill-blingbling.c b/tests/test-ctcp-kill-blingbling.c
index 559282b..b36d663 100644
--- a/tests/test-ctcp-kill-blingbling.c
+++ b/tests/test-ctcp-kill-blingbling.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <idle-ctcp.h>
 
 #include <stdio.h>
diff --git a/tests/test-ctcp-tokenize.c b/tests/test-ctcp-tokenize.c
index 58794d8..9d15cff 100644
--- a/tests/test-ctcp-tokenize.c
+++ b/tests/test-ctcp-tokenize.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <idle-ctcp.h>
 
 #include <assert.h>
diff --git a/tests/test-text-encode-and-split.c b/tests/test-text-encode-and-split.c
index c0a6083..c68439e 100644
--- a/tests/test-text-encode-and-split.c
+++ b/tests/test-text-encode-and-split.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <string.h>
 #include <stdio.h>
 



More information about the telepathy-commits mailing list