[telepathy-mission-control/master] mcd_dispatcher_get_possible_handlers: rename to mcd_dispatcher_dup_possible_handlers, since it copies the result

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Sep 29 08:46:18 PDT 2009


As per review from Sjoerd.
---
 src/mcd-dispatcher.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index b3214bf..a4d38fd 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -707,7 +707,7 @@ possible_handler_cmp (gconstpointer a_,
 }
 
 static GStrv
-mcd_dispatcher_get_possible_handlers (McdDispatcher *self,
+mcd_dispatcher_dup_possible_handlers (McdDispatcher *self,
                                       const GList *channels)
 {
     GList *handlers = NULL;
@@ -3611,7 +3611,7 @@ _mcd_dispatcher_take_channels (McdDispatcher *dispatcher, GList *channels,
            mcd_channel_get_object_path (channels->data));
 
     /* See if there are any handlers that can take all these channels */
-    possible_handlers = mcd_dispatcher_get_possible_handlers (dispatcher,
+    possible_handlers = mcd_dispatcher_dup_possible_handlers (dispatcher,
                                                               channels);
 
     if (possible_handlers == NULL)
@@ -3728,7 +3728,7 @@ _mcd_dispatcher_reinvoke_handler (McdDispatcher *dispatcher,
     context->channels = g_list_prepend (NULL, channel);
 
     list = g_list_append (NULL, channel);
-    possible_handlers = mcd_dispatcher_get_possible_handlers (dispatcher,
+    possible_handlers = mcd_dispatcher_dup_possible_handlers (dispatcher,
                                                               list);
     g_list_free (list);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list