From 5b57d701490beb216e68defa801f0eaf938328cd Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Wed, 9 Jan 2013 13:43:49 +0100 Subject: [PATCH] Include config.h to silence deprecation warnings from g_type_init g_type_init is deprecated from GLib 2.35.1, but 2.34.x is the latest that we can depend on. Fixes: https://bugs.freedesktop.org/59165 --- src/test-api.c | 2 ++ tests/dbus/test-tpl-log-iter-pidgin.c | 3 +++ tests/dbus/test-tpl-log-iter-xml.c | 3 +++ tests/dbus/test-tpl-log-walker.c | 3 +++ tests/dbus/test-tpl-observer.c | 2 ++ tests/test-tpl-conf.c | 2 ++ 6 files changed, 15 insertions(+) diff --git a/src/test-api.c b/src/test-api.c index 1f8f6cf..4a2acaa 100644 --- a/src/test-api.c +++ b/src/test-api.c @@ -19,6 +19,8 @@ */ +#include "config.h" + #include #include diff --git a/tests/dbus/test-tpl-log-iter-pidgin.c b/tests/dbus/test-tpl-log-iter-pidgin.c index a00721c..1859057 100644 --- a/tests/dbus/test-tpl-log-iter-pidgin.c +++ b/tests/dbus/test-tpl-log-iter-pidgin.c @@ -1,6 +1,9 @@ +#include "config.h" + #include "lib/simple-account.h" #include "lib/util.h" +#include "telepathy-logger/debug-internal.h" #include "telepathy-logger/log-iter-internal.h" #include "telepathy-logger/log-iter-pidgin-internal.h" #include "telepathy-logger/log-store-pidgin-internal.h" diff --git a/tests/dbus/test-tpl-log-iter-xml.c b/tests/dbus/test-tpl-log-iter-xml.c index 2467997..044bf47 100644 --- a/tests/dbus/test-tpl-log-iter-xml.c +++ b/tests/dbus/test-tpl-log-iter-xml.c @@ -1,6 +1,9 @@ +#include "config.h" + #include "lib/util.h" #include "telepathy-logger/call-event.h" +#include "telepathy-logger/debug-internal.h" #include "telepathy-logger/log-iter-internal.h" #include "telepathy-logger/log-iter-xml-internal.h" #include "telepathy-logger/log-store-xml-internal.h" diff --git a/tests/dbus/test-tpl-log-walker.c b/tests/dbus/test-tpl-log-walker.c index 131e06c..d6e5380 100644 --- a/tests/dbus/test-tpl-log-walker.c +++ b/tests/dbus/test-tpl-log-walker.c @@ -1,9 +1,12 @@ +#include "config.h" + #include #include "lib/simple-account.h" #include "lib/util.h" #include "telepathy-logger/call-event.h" +#include "telepathy-logger/debug-internal.h" #include "telepathy-logger/log-manager.h" #include "telepathy-logger/text-event.h" diff --git a/tests/dbus/test-tpl-observer.c b/tests/dbus/test-tpl-observer.c index aef7ad3..b1c687d 100644 --- a/tests/dbus/test-tpl-observer.c +++ b/tests/dbus/test-tpl-observer.c @@ -1,3 +1,5 @@ +#include "config.h" + #include int diff --git a/tests/test-tpl-conf.c b/tests/test-tpl-conf.c index 08c00a9..5736356 100644 --- a/tests/test-tpl-conf.c +++ b/tests/test-tpl-conf.c @@ -1,3 +1,5 @@ +#include "config.h" + #include int -- 1.8.0.2