diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-26 19:40:54 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-30 17:20:59 +0800 |
commit | 57cbda8c31761ad2cc577c6139199ef57a9e2976 (patch) | |
tree | 22a2ae9069e76944ceb6ead16573bd6097b2b7a8 | |
parent | d03f537aabceae14cd953bd45d5e13768e6aa2d6 (diff) | |
download | gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.tar gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.tar.gz gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.tar.bz2 gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.tar.lz gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.tar.xz gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.tar.zst gsoc2013-empathy-57cbda8c31761ad2cc577c6139199ef57a9e2976.zip |
empathy_dispatcher_find_requestable_channel_classes: allow handle_type being 0
This allows us to check if channel type with HandleType=None are supported
(for example roomlist channels).
-rw-r--r-- | libempathy/empathy-dispatcher.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 1edefe9bf..94d97cc75 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -1879,7 +1879,6 @@ empathy_dispatcher_find_channel_classes (EmpathyDispatcher *self, ConnectionData *cd; g_return_val_if_fail (channel_type != NULL, NULL); - g_return_val_if_fail (handle_type != 0, NULL); cd = g_hash_table_lookup (priv->connections, connection); @@ -2023,7 +2022,6 @@ empathy_dispatcher_find_requestable_channel_classes g_return_val_if_fail (EMPATHY_IS_DISPATCHER (self), NULL); g_return_val_if_fail (TP_IS_CONNECTION (connection), NULL); g_return_val_if_fail (channel_type != NULL, NULL); - g_return_val_if_fail (handle_type != 0, NULL); priv = GET_PRIV (self); |