summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-10-12 15:17:44 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-10-12 15:17:44 +0100
commit2b44a303999efce4cd5bca1b0efa464f470b10b2 (patch)
tree6f483425248c4c62807ca804eced55996d0ae967
parentb3071388de1637c2c2150da91587f1a311584402 (diff)
downloadtelepathy-mission-control-2b44a303999efce4cd5bca1b0efa464f470b10b2.tar.gz
McdConnection: correct sense of suppress_handler in on_new_channel
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.
-rw-r--r--src/mcd-connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index bb7acec5..a4fd0e5d 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);
}
}