summaryrefslogtreecommitdiff
path: root/legacy/ethumb
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-12-28 16:27:08 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-12-28 16:27:08 +0000
commit122b8d9f9809c226ffb2c4d5dd7b98b3fef2e317 (patch)
tree3df939bc70d30dd518e54142f6ca7389ace35381 /legacy/ethumb
parent521c66c9e5f6371fddc34b868744a9716d49f36c (diff)
ethumb: reorder parameter to match other EFL callback API.
SVN revision: 66608
Diffstat (limited to 'legacy/ethumb')
-rw-r--r--legacy/ethumb/src/bin/ethumbd_client.c2
-rw-r--r--legacy/ethumb/src/lib/client/Ethumb_Client.h2
-rw-r--r--legacy/ethumb/src/lib/client/ethumb_client.c10
3 files changed, 7 insertions, 7 deletions
diff --git a/legacy/ethumb/src/bin/ethumbd_client.c b/legacy/ethumb/src/bin/ethumbd_client.c
index dab9e3b0ca..e236639fcf 100644
--- a/legacy/ethumb/src/bin/ethumbd_client.c
+++ b/legacy/ethumb/src/bin/ethumbd_client.c
@@ -159,7 +159,7 @@ _finished_thumb(void *data __UNUSED__, Ethumb_Client *client __UNUSED__, int id
159} 159}
160 160
161static void 161static void
162_exists(Ethumb_Client *c, __UNUSED__ Ethumb_Exists *thread, Eina_Bool exists, void *data) 162_exists(void *data, Ethumb_Client *c, __UNUSED__ Ethumb_Exists *thread, Eina_Bool exists)
163{ 163{
164 struct options *opts = data; 164 struct options *opts = data;
165 const char *thumb_path, *thumb_key; 165 const char *thumb_path, *thumb_key;
diff --git a/legacy/ethumb/src/lib/client/Ethumb_Client.h b/legacy/ethumb/src/lib/client/Ethumb_Client.h
index 5153e09ec2..81105aacaf 100644
--- a/legacy/ethumb/src/lib/client/Ethumb_Client.h
+++ b/legacy/ethumb/src/lib/client/Ethumb_Client.h
@@ -114,7 +114,7 @@ typedef void (*Ethumb_Client_Generate_Cb)(void *data, Ethumb_Client *client, int
114 * temporarily realy restored to what it was when the call to 114 * temporarily realy restored to what it was when the call to
115 * ethumb_client_thumb_exists() was done. 115 * ethumb_client_thumb_exists() was done.
116 */ 116 */
117typedef void (*Ethumb_Client_Thumb_Exists_Cb)(Ethumb_Client *client, Ethumb_Exists *thread, Eina_Bool exists, void *data); 117typedef void (*Ethumb_Client_Thumb_Exists_Cb)(void *data, Ethumb_Client *client, Ethumb_Exists *thread, Eina_Bool exists);
118 118
119/** 119/**
120 * @brief reports results of ethumb_client_generate_cancel() 120 * @brief reports results of ethumb_client_generate_cancel()
diff --git a/legacy/ethumb/src/lib/client/ethumb_client.c b/legacy/ethumb/src/lib/client/ethumb_client.c
index f6c28eed7a..d5135e8e01 100644
--- a/legacy/ethumb/src/lib/client/ethumb_client.c
+++ b/legacy/ethumb/src/lib/client/ethumb_client.c
@@ -610,9 +610,9 @@ _ethumb_client_exists_end(void *data, Ecore_Thread *thread __UNUSED__)
610 tmp = cb->client->ethumb; 610 tmp = cb->client->ethumb;
611 cb->client->ethumb = cb->dup; 611 cb->client->ethumb = cb->dup;
612 612
613 cb->exists_cb(cb->client, cb, 613 cb->exists_cb((void*) cb->data,
614 ethumb_exists(cb->client->ethumb), 614 cb->client, cb,
615 (void*) cb->data); 615 ethumb_exists(cb->client->ethumb));
616 616
617 cb->client->ethumb = tmp; 617 cb->client->ethumb = tmp;
618 EINA_REFCOUNT_UNREF(cb->client) 618 EINA_REFCOUNT_UNREF(cb->client)
@@ -2229,7 +2229,7 @@ ethumb_client_thumb_exists(Ethumb_Client *client, Ethumb_Client_Thumb_Exists_Cb
2229 return cb; 2229 return cb;
2230 2230
2231 on_error: 2231 on_error:
2232 exists_cb(client, NULL, EINA_FALSE, (void*) data); 2232 exists_cb((void*) data, client, NULL, EINA_FALSE);
2233 2233
2234 if (async) 2234 if (async)
2235 { 2235 {
@@ -2430,7 +2430,7 @@ _ethumb_client_thumb_generate_idler(void *data __UNUSED__)
2430} 2430}
2431 2431
2432static void 2432static void
2433_ethumb_client_thumb_exists(Ethumb_Client *client, Ethumb_Exists *request, Eina_Bool exists, void *data) 2433_ethumb_client_thumb_exists(void *data, Ethumb_Client *client, Ethumb_Exists *request, Eina_Bool exists)
2434{ 2434{
2435 Ethumb_Client_Async *async = data; 2435 Ethumb_Client_Async *async = data;
2436 2436