From 57cbda8c31761ad2cc577c6139199ef57a9e2976 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 26 Mar 2010 12:40:54 +0100 Subject: [PATCH] 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). --- libempathy/empathy-dispatcher.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 1edefe9b..94d97cc7 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); -- 2.39.2