[telepathy-mission-control/master] McdDispatcher: rename get_default_handler to mcd_dispatcher_guess_request_handler

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Sep 14 10:41:19 PDT 2009


That's the only place where it's actually used, now.
---
 src/mcd-dispatcher.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index a3be706..f40f191 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -586,7 +586,8 @@ match_filters (McdChannel *channel, GList *filters)
 }
 
 static McdClient *
-get_default_handler (McdDispatcher *dispatcher, McdChannel *channel)
+mcd_dispatcher_guess_request_handler (McdDispatcher *dispatcher,
+                                      McdChannel *channel)
 {
     GHashTableIter iter;
     McdClient *client;
@@ -3343,7 +3344,7 @@ _mcd_dispatcher_add_request (McdDispatcher *dispatcher, McdAccount *account,
 
     priv = dispatcher->priv;
 
-    handler = get_default_handler (dispatcher, channel);
+    handler = mcd_dispatcher_guess_request_handler (dispatcher, channel);
     if (!handler)
     {
         /* No handler found. But it's possible that by the time that the
-- 
1.5.6.5




More information about the telepathy-commits mailing list