summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-10 22:31:46 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-11 10:40:27 -0300
commitf6d20c839ef61e1a21961c18045ea0eb7ccdb835 (patch)
tree6704a594771f905b13028e48dc8d96faea675723 /src/lib/eio
parent0b693bb6cac06353cff7705c1700e6ab88eadce5 (diff)
eio: Removed wrong attribution to promise vtable from Eio
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_job.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/eio/eio_job.c b/src/lib/eio/eio_job.c
index dd35f84eb6..aa98ef414b 100644
--- a/src/lib/eio/eio_job.c
+++ b/src/lib/eio/eio_job.c
@@ -224,7 +224,7 @@ _file_direct_ls_main_cb(void *data, Eio_File *handler EINA_UNUSED, const Eina_Fi
224} 224}
225 225
226static void 226static void
227_ls_direct_notify_start(void* data, Eina_Promise_Owner *promise) 227_ls_direct_notify_start(void* data, Eina_Promise_Owner *promise EINA_UNUSED)
228{ 228{
229 Job_Closure *operation_data = (Job_Closure*)data; 229 Job_Closure *operation_data = (Job_Closure*)data;
230 char* path = operation_data->delayed_arg; 230 char* path = operation_data->delayed_arg;
@@ -236,8 +236,6 @@ _ls_direct_notify_start(void* data, Eina_Promise_Owner *promise)
236 _file_error_cb, 236 _file_error_cb,
237 operation_data); 237 operation_data);
238 operation_data->file = handle; 238 operation_data->file = handle;
239
240 promise->progress_notify = NULL;
241} 239}
242 240
243static void 241static void
@@ -251,7 +249,7 @@ _free_notify_start_data(void *data)
251} 249}
252 250
253static void 251static void
254_ls_notify_start(void *data, Eina_Promise_Owner* promise) 252_ls_notify_start(void *data, Eina_Promise_Owner* promise EINA_UNUSED)
255{ 253{
256 Job_Closure *operation_data = (Job_Closure*)data; 254 Job_Closure *operation_data = (Job_Closure*)data;
257 char* path = operation_data->delayed_arg; 255 char* path = operation_data->delayed_arg;
@@ -263,12 +261,10 @@ _ls_notify_start(void *data, Eina_Promise_Owner* promise)
263 _file_error_cb, 261 _file_error_cb,
264 operation_data); 262 operation_data);
265 operation_data->file = handle; 263 operation_data->file = handle;
266
267 promise->progress_notify = NULL; // Don't ever think about calling me again...
268} 264}
269 265
270static void 266static void
271_xattr_notify_start(void *data, Eina_Promise_Owner *promise) 267_xattr_notify_start(void *data, Eina_Promise_Owner *promise EINA_UNUSED)
272{ 268{
273 Job_Closure *operation_data = (Job_Closure*)data; 269 Job_Closure *operation_data = (Job_Closure*)data;
274 char* path = operation_data->delayed_arg; 270 char* path = operation_data->delayed_arg;
@@ -280,8 +276,6 @@ _xattr_notify_start(void *data, Eina_Promise_Owner *promise)
280 _file_error_cb, 276 _file_error_cb,
281 operation_data); 277 operation_data);
282 operation_data->file = handle; 278 operation_data->file = handle;
283
284 promise->progress_notify = NULL; // Don't ever think about calling me again...
285} 279}
286 280
287static void 281static void