summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-08 09:59:13 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-08 09:59:13 +0100
commitb3570e8e77cb890c62744dc62859c49a6bebd8aa (patch)
tree3b5d6be71ed7e2b178533c41b03388d7f1eb5314 /examples
parent3c76b3c7833675bf04e28575805da874f07bee51 (diff)
downloadtelepathy-glib-b3570e8e77cb890c62744dc62859c49a6bebd8aa.tar.gz
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/client/dbus-tubes/accepter.c2
-rw-r--r--examples/client/dbus-tubes/offerer.c2
-rw-r--r--examples/client/stream-tubes/accepter.c2
-rw-r--r--examples/client/stream-tubes/offerer.c2
-rw-r--r--examples/cm/call/call-channel.c2
5 files changed, 10 insertions, 0 deletions
diff --git a/examples/client/dbus-tubes/accepter.c b/examples/client/dbus-tubes/accepter.c
index e9c3835b1..c12f24d00 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 baa61d0c5..580655df6 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 fd974ab24..e33d3bfb8 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 3b86f82eb..dee9322cc 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 456bc490f..a30615543 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>