[Telepathy-commits] [telepathy-gabble/master] conn-requests: use GabbleChannelManager API for foreach

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Aug 20 09:38:26 PDT 2008


20080728172913-53eee-947a09355be1707913e6b0bf98db52e1867e5343.gz
---
 src/conn-requests.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conn-requests.c b/src/conn-requests.c
index 96c9558..d66d4f3 100644
--- a/src/conn-requests.c
+++ b/src/conn-requests.c
@@ -543,10 +543,10 @@ conn_requests_get_channel_details (GabbleConnection *self)
 
   for (i = 0; i < self->channel_managers->len; i++)
     {
-      TpChannelFactoryIface *factory = g_ptr_array_index
-        (self->channel_managers, i);
+      GabbleChannelManager *manager = GABBLE_CHANNEL_MANAGER (
+          g_ptr_array_index (self->channel_managers, i));
 
-      tp_channel_factory_iface_foreach (factory,
+      gabble_channel_manager_foreach_channel (manager,
           get_channel_details_foreach, details);
     }
 
-- 
1.5.6.3




More information about the Telepathy-commits mailing list