eina: update Eina_Refcount API to please Tasn.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 22 Jun 2011 14:04:09 +0000 (14:04 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 22 Jun 2011 14:04:09 +0000 (14:04 +0000)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/ethumb@60592 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/client/Ethumb_Client.c

index 7121d4d..595c58b 100644 (file)
@@ -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);
 }
 
 /**