[next] telepathy-gabble: search-manager: use properties constants
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Tue May 13 05:13:53 PDT 2014
Module: telepathy-gabble
Branch: next
Commit: 4d89fa47c64359c34999269db550c62e9a3f1b81
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=4d89fa47c64359c34999269db550c62e9a3f1b81
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Tue May 13 11:55:36 2014 +0200
search-manager: use properties constants
---
src/search-manager.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/search-manager.c b/src/search-manager.c
index e761445..0e233bd 100644
--- a/src/search-manager.c
+++ b/src/search-manager.c
@@ -317,12 +317,12 @@ gabble_search_manager_foreach_channel (TpChannelManager *manager,
}
static const gchar * const search_channel_fixed_properties[] = {
- TP_IFACE_CHANNEL ".ChannelType",
+ TP_PROP_CHANNEL_CHANNEL_TYPE,
NULL
};
static const gchar * const search_channel_allowed_properties[] = {
- TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH1 ".Server",
+ TP_PROP_CHANNEL_TYPE_CONTACT_SEARCH1_SERVER,
NULL
};
@@ -472,7 +472,7 @@ gabble_search_manager_create_channel (TpChannelManager *manager,
const gchar *server;
channel_type = tp_asv_get_string (request_properties,
- TP_IFACE_CHANNEL ".ChannelType");
+ TP_PROP_CHANNEL_CHANNEL_TYPE);
if (tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH1))
return FALSE;
@@ -483,7 +483,7 @@ gabble_search_manager_create_channel (TpChannelManager *manager,
goto error;
server = tp_asv_get_string (request_properties,
- TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH1 ".Server");
+ TP_PROP_CHANNEL_TYPE_CONTACT_SEARCH1_SERVER);
if (tp_str_empty (server))
{
More information about the telepathy-commits
mailing list