summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-16 16:12:32 (GMT)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-16 16:12:32 (GMT)
commitebdba95e4738dc110e518671c17085561e7bd1dc (patch)
tree59179d650ee89e770c7775bd218088962d75baf5
parentf3a8ad56b1c4731cb0198a11547aa71072f98c60 (diff)
downloadtelepathy-yell-ebdba95e4738dc110e518671c17085561e7bd1dc.tar.gz
telepathy-yell-ebdba95e4738dc110e518671c17085561e7bd1dc.tar.xz
Fix tpy_call_channel_accept_finish() return value
Don't return TRUE when there was an error.
-rw-r--r--telepathy-yell/call-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-yell/call-channel.c b/telepathy-yell/call-channel.c
index a3ba112..6aaac39 100644
--- a/telepathy-yell/call-channel.c
+++ b/telepathy-yell/call-channel.c
@@ -747,7 +747,7 @@ channel_accept_cb (TpProxy *proxy,
g_simple_async_result_set_from_error (result, error);
}
- g_simple_async_result_set_op_res_gboolean (result, TRUE);
+ g_simple_async_result_set_op_res_gboolean (result, error == NULL);
g_simple_async_result_complete (result);
}