[next] telepathy-glib: TpPresenceMixin: rename construct_presence_hash to construct_presence_map

Simon McVittie smcv at kemper.freedesktop.org
Wed May 7 02:18:24 PDT 2014


Module: telepathy-glib
Branch: next
Commit: 8aeca0f0fd814e82f99dcbd01b3eeed6399c1d44
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=8aeca0f0fd814e82f99dcbd01b3eeed6399c1d44

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Apr 16 17:17:45 2014 +0100

TpPresenceMixin: rename construct_presence_hash to construct_presence_map

It doesn't return a hash table.

Reviewed-by: Xavier Claessens <xavier.claessens at collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77189

---

 telepathy-glib/presence-mixin.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/telepathy-glib/presence-mixin.c b/telepathy-glib/presence-mixin.c
index 792b0d2..e23cb7e 100644
--- a/telepathy-glib/presence-mixin.c
+++ b/telepathy-glib/presence-mixin.c
@@ -171,7 +171,7 @@ struct _TpPresenceMixinPrivate
 };
 
 
-static GVariant *construct_presence_hash (
+static GVariant *construct_presence_map (
   const TpPresenceStatusSpec *supported_statuses,
   GHashTable *contact_statuses);
 
@@ -314,7 +314,7 @@ tp_presence_mixin_emit_presence_update (TpBaseConnection *self,
 
   _tp_gdbus_connection_interface_presence1_emit_presences_changed (
       self->priv->presence_skeleton,
-      construct_presence_hash (iface->statuses, contact_statuses));
+      construct_presence_map (iface->statuses, contact_statuses));
 }
 
 /**
@@ -532,7 +532,7 @@ construct_presence_variant (TpPresenceStatus *status,
 }
 
 static GVariant *
-construct_presence_hash (const TpPresenceStatusSpec *supported_statuses,
+construct_presence_map (const TpPresenceStatusSpec *supported_statuses,
                          GHashTable *contact_statuses)
 {
   GVariantBuilder builder;



More information about the telepathy-commits mailing list