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-module.c | |
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-module.c')
-rw-r--r-- | gck/gck-module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gck/gck-module.c b/gck/gck-module.c index 509c4c2..d9e872a 100644 --- a/gck/gck-module.c +++ b/gck/gck-module.c @@ -420,11 +420,11 @@ gck_module_initialize_async (const gchar *path, g_return_if_fail (path != NULL); - args = _gck_call_async_prep (NULL, NULL, perform_initialize, NULL, + args = _gck_call_async_prep (NULL, perform_initialize, NULL, sizeof (*args), free_initialize); args->path = g_strdup (path); - _gck_call_async_ready_go (args, cancellable, callback, user_data); + _gck_call_async_ready_go (args, NULL, cancellable, callback, user_data); } /** |