diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-03-11 19:35:45 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2010-03-11 19:35:45 +0800 |
commit | 02141c6718553ad9bf05afee05e1ef834d3bdd62 (patch) | |
tree | 43fcaad36408a612898ad681133f14bd085c15e3 /libempathy/empathy-dispatcher.c | |
parent | c1dd662a2d2c94b19e431750ddc9109b5509e3b6 (diff) | |
parent | 2a98cb3d4f7222097b4ec2f5343244d1b313eac1 (diff) | |
download | gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.tar gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.tar.gz gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.tar.bz2 gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.tar.lz gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.tar.xz gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.tar.zst gsoc2013-empathy-02141c6718553ad9bf05afee05e1ef834d3bdd62.zip |
Merge branch 'butterfly-conference-misc'
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r-- | libempathy/empathy-dispatcher.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index caf697cb6..1edefe9bf 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -1808,7 +1808,7 @@ channel_class_matches (GValueArray *class, h_type = tp_asv_get_uint32 (fprops, TP_IFACE_CHANNEL ".TargetHandleType", &valid); - if (!valid || handle_type != h_type) + if (!valid || (handle_type != h_type && handle_type != TP_UNKNOWN_HANDLE_TYPE)) return FALSE; if (fixed_properties != NULL) @@ -1978,7 +1978,8 @@ setup_varargs (va_list var_args, * @dispatcher: an #EmpathyDispatcher * @connection: a #TpConnection * @channel_type: a string identifying the type of the channel to lookup - * @handle_type: the handle type for the channel + * @handle_type: the handle type for the channel, or %TP_UNKNOWN_HANDLE_TYPE + * if you don't care about the channel's target handle type * @first_property_name: %NULL, or the name of the first fixed property, * followed optionally by more names, followed by %NULL. * |