From c54bae9e0ab4e47fea1ef12a100458c08a528178 Mon Sep 17 00:00:00 2001 From: cedric Date: Wed, 22 Jun 2011 14:04:09 +0000 Subject: [PATCH] eina: update Eina_Refcount API to please Tasn. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/ethumb@60592 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/client/Ethumb_Client.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/client/Ethumb_Client.c b/src/lib/client/Ethumb_Client.c index 7121d4d..595c58b 100644 --- a/src/lib/client/Ethumb_Client.c +++ b/src/lib/client/Ethumb_Client.c @@ -345,7 +345,8 @@ _ethumb_async_delete(void *data) ethumb_free(async->dup); - EINA_REFCOUNT_UNREF(async->source, _ethumb_client_free); + EINA_REFCOUNT_UNREF(async->source) + _ethumb_client_free(async->source); free(async); } @@ -812,7 +813,8 @@ ethumb_client_disconnect(Ethumb_Client *client) { EINA_SAFETY_ON_NULL_RETURN(client); - EINA_REFCOUNT_UNREF(client, _ethumb_client_free); + EINA_REFCOUNT_UNREF(client) + _ethumb_client_free(client); } /** @@ -2205,7 +2207,8 @@ ethumb_client_thumb_exists_cancel(Ethumb_Exists *exists, Ethumb_Client_Thumb_Exi break; } - EINA_REFCOUNT_UNREF(async, _ethumb_async_cancel); + EINA_REFCOUNT_UNREF(async) + _ethumb_async_cancel(async); } /** -- 2.7.4