From aaff7e95f9dd66f94a3b85e910b049daf9097a0c Mon Sep 17 00:00:00 2001 From: Raul Gutierrez Segales Date: Mon, 19 Sep 2011 15:09:57 +0100 Subject: Use always-writeable and writeable-properties for alias and groups Folks is in the way of deprecating the folks_persona_store_get_can_{alias,group}_personas methods in favour of directly checking alias and groups properties via folks_persona_store_get_always_writeable_properties and folks_persona_get_writeable_properties. --- libempathy/empathy-utils.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-utils.h') diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 69a7d6287..ed603a80f 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -96,8 +96,10 @@ TpChannelGroupChangeReason tp_channel_group_change_reason_from_folks_groups_chan TpfPersonaStore * empathy_dup_persona_store_for_connection ( TpConnection *connection); gboolean empathy_connection_can_add_personas (TpConnection *connection); -gboolean empathy_connection_can_alias_personas (TpConnection *connection); -gboolean empathy_connection_can_group_personas (TpConnection *connection); +gboolean empathy_connection_can_alias_personas (TpConnection *connection, + FolksIndividual *individual); +gboolean empathy_connection_can_group_personas (TpConnection *connection, + FolksIndividual *individual); gboolean empathy_folks_persona_is_interesting (FolksPersona *persona); gchar * empathy_get_x509_certificate_hostname (gnutls_x509_crt_t cert); -- cgit v1.2.3