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/proxy.c | |
parent | 15bf9ec4887974ee5a3d676821cc9f7623c72bfd (diff) | |
download | telepathy-glib-cbd087f7f8959ad0208ba35d0a2a68fd60e6a1fe.tar.gz |
Simplify _finish() functions using _tp_implement_finish_*
Diffstat (limited to 'telepathy-glib/proxy.c')
-rw-r--r-- | telepathy-glib/proxy.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/telepathy-glib/proxy.c b/telepathy-glib/proxy.c index e1e102624..2697eb2bd 100644 --- a/telepathy-glib/proxy.c +++ b/telepathy-glib/proxy.c @@ -2004,19 +2004,7 @@ tp_proxy_prepare_finish (gpointer self, GAsyncResult *result, GError **error) { - GSimpleAsyncResult *simple; - - g_return_val_if_fail (TP_IS_PROXY (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, - self, tp_proxy_prepare_async), FALSE); - - return TRUE; + _tp_implement_finish_void (self, tp_proxy_prepare_async); } static gboolean |