summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-23 17:08:01 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-25 16:36:30 +0200
commit8e85b78d6aee35b0eb7181c8ad6a870c22fc8a37 (patch)
tree452a4a674c00c93cd008bfdef9956e09413a98f5
parent54dc1def7a7dcaee992a0d615ecd685e0f11e5f2 (diff)
ignore deprecation warning when calling tp_account_parse_object_path()
It's not that clear how to fix this for now. https://bugs.freedesktop.org/show_bug.cgi?id=69797
-rw-r--r--telepathy-logger/log-store-xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c
index ec291b4..0dd6795 100644
--- a/telepathy-logger/log-store-xml.c
+++ b/telepathy-logger/log-store-xml.c
@@ -1356,6 +1356,8 @@ log_store_xml_get_events_for_file (TplLogStoreXml *self,
return;
}
+ /* FIXME: fdo#69814 ideally we shouldn't use the account_id as self_id */
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (!tp_account_parse_object_path (
tp_proxy_get_object_path (TP_PROXY (account)),
NULL, NULL, &self_id, &error))
@@ -1365,6 +1367,7 @@ log_store_xml_get_events_for_file (TplLogStoreXml *self,
g_error_free (error);
return;
}
+ G_GNUC_END_IGNORE_DEPRECATIONS
/* Create parser. */
ctxt = xmlNewParserCtxt ();