diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2020-11-16 17:21:36 +0100 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2021-01-19 22:37:30 +0100 |
commit | ac34777cc610b8c612a5ded54bff1c540e1463f5 (patch) | |
tree | da2d421c9287963f6204a26b65a15930e9cbed0b /gck/gck-private.h | |
parent | ed23f8b97128fbd26faec1bff3da35d64afa305b (diff) | |
download | gcr-ac34777cc610b8c612a5ded54bff1c540e1463f5.tar.gz |
gck-call: Move cb_object parameter to the async_ready functions
This is to mimic GTask more and so we can avoid using a temporary task
only for temporary storing an object pointer.
Diffstat (limited to 'gck/gck-private.h')
-rw-r--r-- | gck/gck-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gck/gck-private.h b/gck/gck-private.h index 46a9d11..c841e6a 100644 --- a/gck/gck-private.h +++ b/gck/gck-private.h @@ -179,13 +179,13 @@ gboolean _gck_call_sync (gpointer object, GError **err); gpointer _gck_call_async_prep (gpointer object, - gpointer cb_object, gpointer perform, gpointer complete, gsize args_size, gpointer destroy_func); GckCall* _gck_call_async_ready (gpointer args, + gpointer cb_object, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); @@ -193,6 +193,7 @@ GckCall* _gck_call_async_ready (gpointer args, void _gck_call_async_go (GckCall *call); void _gck_call_async_ready_go (gpointer args, + gpointer cb_object, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); |