summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-manager.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2008-09-11 14:54:24 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2008-09-15 18:18:39 +0100
commitb9e1993f13e36ecd515fa481a8972b867b085283 (patch)
tree9b50a7661de17f18e1e1e617fc67ea57706d891c /telepathy-glib/channel-manager.c
parent7258872225992cc44021d8ebf8a1dcc3669a5743 (diff)
downloadtelepathy-glib-b9e1993f13e36ecd515fa481a8972b867b085283.tar.gz
ChannelManager: refer to opaque gpointers as request tokens consistently
Diffstat (limited to 'telepathy-glib/channel-manager.c')
-rw-r--r--telepathy-glib/channel-manager.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/telepathy-glib/channel-manager.c b/telepathy-glib/channel-manager.c
index fc6f118c1..b090eaf1f 100644
--- a/telepathy-glib/channel-manager.c
+++ b/telepathy-glib/channel-manager.c
@@ -57,8 +57,8 @@ channel_manager_base_init (gpointer klass)
* @channels: a #GHashTable where the keys are
* #TpExportableChannel instances (hashed and compared
* by g_direct_hash() and g_direct_equal()) and the values are
- * linked lists (#GSList) of requests (opaque pointers) satisfied by
- * these channels
+ * linked lists (#GSList) of request tokens (opaque pointers) satisfied
+ * by these channels
*
* Emitted when new channels have been created. The Connection should
* generally emit NewChannels (and NewChannel) in response to this
@@ -174,7 +174,7 @@ tp_channel_manager_get_type (void)
* @channels: a #GHashTable where the keys are
* #TpExportableChannel instances (hashed and compared
* by g_direct_hash() and g_direct_equal()) and the values are
- * linked lists (#GSList) of requests (opaque pointers) satisfied by
+ * linked lists (#GSList) of request tokens (opaque pointers) satisfied by
* these channels
*
* If @channels is non-empty, emit the #TpChannelManager::new-channels
@@ -197,6 +197,7 @@ tp_channel_manager_emit_new_channels (gpointer instance,
* tp_channel_manager_emit_new_channel:
* @instance: An object implementing #TpChannelManager
* @channel: A #TpExportableChannel
+ * @requests: the request tokens (opaque pointers) satisfied by this channel
*
* Emit the #TpChannelManager::new-channels signal indicating that the
* channel has been created. (This is a convenient shortcut for calling
@@ -205,7 +206,7 @@ tp_channel_manager_emit_new_channels (gpointer instance,
void
tp_channel_manager_emit_new_channel (gpointer instance,
TpExportableChannel *channel,
- GSList *requests)
+ GSList *request_tokens)
{
GHashTable *channels;
@@ -214,7 +215,7 @@ tp_channel_manager_emit_new_channel (gpointer instance,
channels = g_hash_table_new_full (g_direct_hash, g_direct_equal,
NULL, NULL);
- g_hash_table_insert (channels, channel, requests);
+ g_hash_table_insert (channels, channel, request_tokens);
g_signal_emit (instance, signals[S_NEW_CHANNELS], 0, channels);
g_hash_table_destroy (channels);
}