summaryrefslogtreecommitdiff
path: root/telepathy-glib/handle-channels-context.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-12-13 14:00:54 +0100
committerXavier Claessens <xclaesse@gmail.com>2011-12-14 11:39:35 +0100
commitcbd087f7f8959ad0208ba35d0a2a68fd60e6a1fe (patch)
tree03eacd0a97b295385f9daef5ed95791c1982e888 /telepathy-glib/handle-channels-context.c
parent15bf9ec4887974ee5a3d676821cc9f7623c72bfd (diff)
downloadtelepathy-glib-cbd087f7f8959ad0208ba35d0a2a68fd60e6a1fe.tar.gz
Simplify _finish() functions using _tp_implement_finish_*
Diffstat (limited to 'telepathy-glib/handle-channels-context.c')
-rw-r--r--telepathy-glib/handle-channels-context.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/telepathy-glib/handle-channels-context.c b/telepathy-glib/handle-channels-context.c
index 309f5126c..2e6dbfc08 100644
--- a/telepathy-glib/handle-channels-context.c
+++ b/telepathy-glib/handle-channels-context.c
@@ -684,21 +684,7 @@ _tp_handle_channels_context_prepare_finish (
GAsyncResult *result,
GError **error)
{
- GSimpleAsyncResult *simple;
-
- g_return_val_if_fail (TP_IS_HANDLE_CHANNELS_CONTEXT (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), _tp_handle_channels_context_prepare_async),
- FALSE);
-
- return TRUE;
+ _tp_implement_finish_void (self, _tp_handle_channels_context_prepare_async);
}
/**