telepathy-glib: add missing config.h includes

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Tue Jan 8 01:07:10 PST 2013


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

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Jan  8 09:59:13 2013 +0100

add missing config.h includes

g_type_init() has been deprecated in GLib master. By including config.h we
avoid the deprecation warning as it contains GLib's versions macros.

---

 examples/client/dbus-tubes/accepter.c   |    2 ++
 examples/client/dbus-tubes/offerer.c    |    2 ++
 examples/client/stream-tubes/accepter.c |    2 ++
 examples/client/stream-tubes/offerer.c  |    2 ++
 examples/cm/call/call-channel.c         |    2 ++
 tests/dbus/call-channel.c               |    2 ++
 6 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/examples/client/dbus-tubes/accepter.c b/examples/client/dbus-tubes/accepter.c
index e9c3835..c12f24d 100644
--- a/examples/client/dbus-tubes/accepter.c
+++ b/examples/client/dbus-tubes/accepter.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <telepathy-glib/telepathy-glib.h>
 #include "constants.h"
 
diff --git a/examples/client/dbus-tubes/offerer.c b/examples/client/dbus-tubes/offerer.c
index baa61d0..580655d 100644
--- a/examples/client/dbus-tubes/offerer.c
+++ b/examples/client/dbus-tubes/offerer.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <telepathy-glib/telepathy-glib.h>
 #include "constants.h"
 
diff --git a/examples/client/stream-tubes/accepter.c b/examples/client/stream-tubes/accepter.c
index fd974ab..e33d3bf 100644
--- a/examples/client/stream-tubes/accepter.c
+++ b/examples/client/stream-tubes/accepter.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <telepathy-glib/telepathy-glib.h>
 
 static GMainLoop *loop = NULL;
diff --git a/examples/client/stream-tubes/offerer.c b/examples/client/stream-tubes/offerer.c
index 3b86f82..dee9322 100644
--- a/examples/client/stream-tubes/offerer.c
+++ b/examples/client/stream-tubes/offerer.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <telepathy-glib/telepathy-glib.h>
 
 static GMainLoop *loop = NULL;
diff --git a/examples/cm/call/call-channel.c b/examples/cm/call/call-channel.c
index 456bc49..a306155 100644
--- a/examples/cm/call/call-channel.c
+++ b/examples/cm/call/call-channel.c
@@ -34,6 +34,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "call-channel.h"
 
 #include <string.h>
diff --git a/tests/dbus/call-channel.c b/tests/dbus/call-channel.c
index 7310c0f..4e12a05 100644
--- a/tests/dbus/call-channel.c
+++ b/tests/dbus/call-channel.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include <telepathy-glib/telepathy-glib.h>
 #include <telepathy-glib/proxy-subclass.h>
 



More information about the telepathy-commits mailing list