diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-12-13 14:00:54 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-12-14 11:39:35 +0100 |
commit | cbd087f7f8959ad0208ba35d0a2a68fd60e6a1fe (patch) | |
tree | 03eacd0a97b295385f9daef5ed95791c1982e888 /telepathy-glib/account-channel-request.c | |
parent | 15bf9ec4887974ee5a3d676821cc9f7623c72bfd (diff) | |
download | telepathy-glib-cbd087f7f8959ad0208ba35d0a2a68fd60e6a1fe.tar.gz |
Simplify _finish() functions using _tp_implement_finish_*
Diffstat (limited to 'telepathy-glib/account-channel-request.c')
-rw-r--r-- | telepathy-glib/account-channel-request.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/telepathy-glib/account-channel-request.c b/telepathy-glib/account-channel-request.c index df9100022..4c221d156 100644 --- a/telepathy-glib/account-channel-request.c +++ b/telepathy-glib/account-channel-request.c @@ -1264,21 +1264,7 @@ request_channel_finish (TpAccountChannelRequest *self, gpointer source_tag, GError **error) { - GSimpleAsyncResult *simple; - - g_return_val_if_fail (TP_IS_ACCOUNT_CHANNEL_REQUEST (self), FALSE); - g_return_val_if_fail (G_IS_SIMPLE_ASYNC_RESULT (result), FALSE); - - simple = G_SIMPLE_ASYNC_RESULT (result); - - if (g_simple_async_result_propagate_error (simple, error)) - return FALSE; - - g_return_val_if_fail (g_simple_async_result_is_valid (result, - G_OBJECT (self), source_tag), - FALSE); - - return TRUE; + _tp_implement_finish_void (self, source_tag); } /** |