diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-05-12 18:18:57 +0200 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-09-17 14:15:32 +0100 |
commit | b4bd1d43cd0f4b02290c98b3ba434d4926e58733 (patch) | |
tree | 60353605d8f07284d33704fca342b31233527627 | |
parent | 75df253e7b8f0e18b34b4f0c7eacfea6b5101619 (diff) | |
download | telepathy-glib-b4bd1d43cd0f4b02290c98b3ba434d4926e58733.tar.gz |
base-client: rename requests_hash to requests_variant
It's not a GHashTable any more.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77882
Reviewed-by: Simon McVittie
-rw-r--r-- | telepathy-glib/base-client.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c index d7fa99ec5..a604a9d06 100644 --- a/telepathy-glib/base-client.c +++ b/telepathy-glib/base-client.c @@ -1579,7 +1579,7 @@ error: static gboolean create_channel_request_array (TpBaseClient *self, - GVariant *requests_hash, + GVariant *requests_variant, GPtrArray **requests, GError **error) { @@ -1587,10 +1587,10 @@ create_channel_request_array (TpBaseClient *self, const gchar *key; GVariant *value; - *requests = g_ptr_array_new_full (g_variant_n_children (requests_hash), + *requests = g_ptr_array_new_full (g_variant_n_children (requests_variant), g_object_unref); - g_variant_iter_init (&iter, requests_hash); + g_variant_iter_init (&iter, requests_variant); while (g_variant_iter_next (&iter, "{&o@a{sv}}", &key, &value)) { const gchar *req_path = key; @@ -1621,7 +1621,7 @@ _tp_base_client_observe_channel (_TpGDBusClientObserverSkeleton *skeleton, const gchar *channel_path, GVariant *channel_props, const gchar *dispatch_operation_path, - GVariant *requests_hash, + GVariant *requests_variant, GVariant *observer_info, TpBaseClient *self) { @@ -1668,7 +1668,7 @@ _tp_base_client_observe_channel (_TpGDBusClientObserverSkeleton *skeleton, } } - if (!create_channel_request_array (self, requests_hash, &requests, &error)) + if (!create_channel_request_array (self, requests_variant, &requests, &error)) goto out; ctx = _tp_observe_channel_context_new (account, connection, channel, @@ -2142,7 +2142,7 @@ _tp_base_client_handle_channel (_TpGDBusClientHandler *skeleton, const gchar *connection_path, const gchar *channel_path, GVariant *channel_props, - GVariant *requests_hash, + GVariant *requests_variant, gint64 user_action_time, GVariant *handler_info, TpBaseClient *self) @@ -2173,7 +2173,7 @@ _tp_base_client_handle_channel (_TpGDBusClientHandler *skeleton, if (channel == NULL) goto out; - if (!create_channel_request_array (self, requests_hash, &requests, &error)) + if (!create_channel_request_array (self, requests_variant, &requests, &error)) goto out; ctx = _tp_handle_channel_context_new (account, connection, channel, |