From 7e88cf2283b5eace54b786fd0a6e4ba48f300042 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 23 Sep 2013 17:08:01 +0200 Subject: [PATCH 07/15] 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 file changed, 3 insertions(+) diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c index ec291b4..1a73577 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: 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 (); -- 1.8.3.1