diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-21 03:57:05 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-21 03:57:05 +0800 |
commit | 9bb81d2d976d8bf388db0a91d87202928c4453f4 (patch) | |
tree | dab301a4b3537f1fc01af71413eea32306dfceec /src | |
parent | f1126fe3b37d71b21354b8d46eb0ae992c824b3f (diff) | |
download | gsoc2013-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
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-filter.c | 6 |
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)); |