telepathy-glib: util-cxx: include config.h

Simon McVittie smcv at kemper.freedesktop.org
Thu Jun 20 07:41:54 PDT 2013


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

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Jun  7 17:09:19 2013 +0100

util-cxx: include config.h

This avoids a deprecation warning for g_type_init().

Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65517

---

 tests/util-cxx.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/util-cxx.cpp b/tests/util-cxx.cpp
index 308ac64..3b2a6b5 100644
--- a/tests/util-cxx.cpp
+++ b/tests/util-cxx.cpp
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include <glib.h>
 #include <gio/gio.h>
 #include <telepathy-glib/util.h>



More information about the telepathy-commits mailing list