[Telepathy-commits] [telepathy-mission-control/master] Fix typo

Alberto Mardegan alberto.mardegan at nokia.com
Sun Nov 9 23:52:12 PST 2008


Use match filters of the appropriate client type.
---
 src/mcd-dispatcher.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 3cc0a7a..377b1cc 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1189,7 +1189,7 @@ mcd_dispatcher_run_observers (McdDispatcherContext *context)
         {
             McdChannel *channel = MCD_CHANNEL (cl->data);
 
-            if (match_filters (channel, client->handler_filters))
+            if (match_filters (channel, client->observer_filters))
                 observed = g_list_prepend (observed, channel);
         }
         if (!observed) continue;
@@ -1289,7 +1289,7 @@ mcd_dispatcher_run_approvers (McdDispatcherContext *context)
         {
             McdChannel *channel = MCD_CHANNEL (cl->data);
 
-            if (match_filters (channel, client->handler_filters))
+            if (match_filters (channel, client->approver_filters))
             {
                 matched = TRUE;
                 break;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list