telepathy-logger: ignore deprecation warning when calling tp_account_parse_object_path()
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed Sep 25 07:38:46 PDT 2013
Module: telepathy-logger
Branch: master
Commit: 8e85b78d6aee35b0eb7181c8ad6a870c22fc8a37
URL: http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=8e85b78d6aee35b0eb7181c8ad6a870c22fc8a37
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Mon Sep 23 17:08:01 2013 +0200
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
---
telepathy-logger/log-store-xml.c | 3 +++
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 ();
More information about the telepathy-commits
mailing list