aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-21 03:57:05 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-21 03:57:05 +0800
commit9bb81d2d976d8bf388db0a91d87202928c4453f4 (patch)
treedab301a4b3537f1fc01af71413eea32306dfceec
parentf1126fe3b37d71b21354b8d46eb0ae992c824b3f (diff)
downloadgsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.tar
gsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.tar.gz
gsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.tar.bz2
gsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.tar.lz
gsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.tar.xz
gsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.tar.zst
gsoc2013-empathy-9bb81d2d976d8bf388db0a91d87202928c4453f4.zip
Do not crash on if ListChannels fails
svn path=/trunk/; revision=1012
-rw-r--r--src/empathy-filter.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-filter.c b/src/empathy-filter.c
index 3a0834ac6..0b2999b4e 100644
--- a/src/empathy-filter.c
+++ b/src/empathy-filter.c
@@ -785,6 +785,12 @@ filter_connection_list_channels_cb (TpConnection *connection,
{
guint i;
+ if (error) {
+ empathy_debug (DEBUG_DOMAIN, "Error listing channels: %s",
+ error->message);
+ return;
+ }
+
g_object_set_data (G_OBJECT (connection), "had-channels",
GUINT_TO_POINTER (1));