[telepathy-mission-control/telepathy-mission-control-5.2] McdConnection: correct sense of suppress_handler in on_new_channel
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Oct 12 07:17:44 PDT 2009
Channels with suppress_handler=TRUE must be Requested;
channels with suppress_handler=FALSE can be assumed to be unRequested.
Previously, the opposite logic was used.
---
src/mcd-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index bb7acec..a4fd0e5 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -552,7 +552,7 @@ on_new_channel (TpConnection *proxy, const gchar *chan_obj_path,
* We assume that channels without suppress_handler are incoming. */
_mcd_dispatcher_take_channels (priv->dispatcher,
g_list_prepend (NULL, channel),
- ! suppress_handler, suppress_handler);
+ suppress_handler, suppress_handler);
}
}
--
1.5.6.5
More information about the telepathy-commits
mailing list