[folks] Turn on stronger error checking for the test library.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Turn on stronger error checking for the test library.
- Date: Mon, 27 Sep 2010 21:33:41 +0000 (UTC)
commit 7f0614529c11b673a71e539b06a5c3e5ff9886d8
Author: Travis Reitter <travis reitter collabora co uk>
Date: Mon Sep 27 10:24:33 2010 -0700
Turn on stronger error checking for the test library.
tests/lib/telepathy/contactlist/Makefile.am | 5 ++++-
tests/lib/telepathy/contactlist/account.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index 56ec6a5..d1bc032 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -30,7 +30,10 @@ libtp_test_contactlist_la_SOURCES = \
contact-list-manager.h \
$(NULL)
-libtp_test_contactlist_la_CFLAGS = $(TP_GLIB_CFLAGS)
+libtp_test_contactlist_la_CFLAGS = \
+ $(ERROR_CFLAGS) \
+ $(TP_GLIB_CFLAGS) \
+ $(NULL)
libtp_test_contactlist_la_LIBADD = $(TP_GLIB_LIBS)
_gen/tp_test_contact_list.manager _gen/param-spec-struct.h: \
diff --git a/tests/lib/telepathy/contactlist/account.c b/tests/lib/telepathy/contactlist/account.c
index 6ada9ef..1d65f48 100644
--- a/tests/lib/telepathy/contactlist/account.c
+++ b/tests/lib/telepathy/contactlist/account.c
@@ -154,7 +154,7 @@ tp_test_account_get_property (GObject *object,
static void
tp_test_account_set_property (GObject *object,
guint property_id,
- GValue *value,
+ const GValue *value,
GParamSpec *spec)
{
TpTestAccountPrivate *priv = TP_TEST_ACCOUNT (object)->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]