summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Barisione <marco@barisione.org>2011-05-25 16:35:47 +0100
committerMarco Barisione <marco@barisione.org>2011-05-25 16:53:14 +0100
commit78f3a20d5153d6c9e27a90a9c311515bd6275fc9 (patch)
treeb597b44edbaf6bd1e7ce13851b03a64f41f48928
parent9c27b83d9ad0f2129a235e9a1ca59c1962e3bd79 (diff)
tpy_call_content_codec_offer_offer_finish should return NULL instead of FALSE
tpy_call_content_codec_offer_offer_finish's return type is GPtrArray, but in case of error it was returning FALSE instead of NULL.
-rw-r--r--telepathy-yell/call-content-codec-offer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-yell/call-content-codec-offer.c b/telepathy-yell/call-content-codec-offer.c
index 040791a..425aa10 100644
--- a/telepathy-yell/call-content-codec-offer.c
+++ b/telepathy-yell/call-content-codec-offer.c
@@ -413,7 +413,7 @@ tpy_call_content_codec_offer_offer_finish (
{
if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (result),
error))
- return FALSE;
+ return NULL;
g_return_val_if_fail (g_simple_async_result_is_valid (result,
G_OBJECT (offer), tpy_call_content_codec_offer_offer_finish),