aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ethumb/src/bin
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2009-07-09 19:14:29 +0000
committerRafael Antognolli <antognolli@gmail.com>2009-07-09 19:14:29 +0000
commit5dc0fa41efaca8d309372df2cb85ac21235f207e (patch)
tree8dd52df73aacd18a94edd3ac7c4884a196b81421 /legacy/ethumb/src/bin
parentFixed wrong usage of eina_list_remove_list on Ethumb_Client. (diff)
downloadefl-5dc0fa41efaca8d309372df2cb85ac21235f207e.tar.gz
Added support to free_data callbacks.
Some functions that require callbacks and data passed to them now can receive a free_data callback as argument too. SVN revision: 41285
Diffstat (limited to 'legacy/ethumb/src/bin')
-rw-r--r--legacy/ethumb/src/bin/ethumb.c2
-rw-r--r--legacy/ethumb/src/bin/ethumbd_child.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ethumb/src/bin/ethumb.c b/legacy/ethumb/src/bin/ethumb.c
index 4c344c3fbb..faf6e801f4 100644
--- a/legacy/ethumb/src/bin/ethumb.c
+++ b/legacy/ethumb/src/bin/ethumb.c
@@ -234,7 +234,7 @@ main(int argc, char *argv[])
r = 1;
}
else
- r = ethumb_generate(e, _finished_thumb, NULL);
+ r = ethumb_generate(e, _finished_thumb, NULL, NULL);
}
if (r && !quit_option)
diff --git a/legacy/ethumb/src/bin/ethumbd_child.c b/legacy/ethumb/src/bin/ethumbd_child.c
index 06eced531c..4b790c5911 100644
--- a/legacy/ethumb/src/bin/ethumbd_child.c
+++ b/legacy/ethumb/src/bin/ethumbd_child.c
@@ -268,7 +268,7 @@ _ec_op_generate(struct _Ethumbd_Child *ec)
ethumb_file_set(ec->ethumbt[index], path, key);
ethumb_thumb_path_set(ec->ethumbt[index], thumb_path, thumb_key);
ethumb_generate(ec->ethumbt[index], _ec_op_generated_cb,
- ec);
+ ec, NULL);
free(path);
free(key);