diff options
author | Cedric Bail <cedric.bail@samsung.com> | 2013-11-04 12:47:34 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@samsung.com> | 2013-11-04 12:47:34 +0900 |
commit | 7e3286b4edbaba81fda348a08fe0e33938fce3e3 (patch) | |
tree | 8d9783eb1b25b645ca658b557632149aa05c02cb /src/lib/edje/edje_program.c | |
parent | be3afd8f4b778e0b0be9be43265674fe9a1ba847 (diff) |
edje: update use of eina_cow_free to latest change.
Diffstat (limited to '')
-rw-r--r-- | src/lib/edje/edje_program.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c index 52335b9135..69acfbab30 100644 --- a/src/lib/edje/edje_program.c +++ b/src/lib/edje/edje_program.c | |||
@@ -446,9 +446,9 @@ _edje_program_end(Edje *ed, Edje_Running_Program *runp) | |||
446 | 446 | ||
447 | if (rp->current) | 447 | if (rp->current) |
448 | { | 448 | { |
449 | eina_cow_free(_edje_calc_params_map_cow, rp->current->map); | 449 | eina_cow_free(_edje_calc_params_map_cow, (const Eina_Cow_Data **) &rp->current->map); |
450 | #ifdef HAVE_EPHYSICS | 450 | #ifdef HAVE_EPHYSICS |
451 | eina_cow_free(_edje_calc_params_physics_cow, rp->current->physics); | 451 | eina_cow_free(_edje_calc_params_physics_cow, (const Eina_Cow_Data **) &rp->current->physics); |
452 | #endif | 452 | #endif |
453 | free(rp->current); | 453 | free(rp->current); |
454 | rp->current = NULL; | 454 | rp->current = NULL; |
@@ -573,9 +573,9 @@ _edje_program_run(Edje *ed, Edje_Program *pr, Eina_Bool force, const char *ssig, | |||
573 | 573 | ||
574 | if (rp->current) | 574 | if (rp->current) |
575 | { | 575 | { |
576 | eina_cow_free(_edje_calc_params_map_cow, rp->current->map); | 576 | eina_cow_free(_edje_calc_params_map_cow, (const Eina_Cow_Data **) &rp->current->map); |
577 | #ifdef HAVE_EPHYSICS | 577 | #ifdef HAVE_EPHYSICS |
578 | eina_cow_free(_edje_calc_params_physics_cow, rp->current->physics); | 578 | eina_cow_free(_edje_calc_params_physics_cow, (const Eina_Cow_Data **) &rp->current->physics); |
579 | #endif | 579 | #endif |
580 | free(rp->current); | 580 | free(rp->current); |
581 | } | 581 | } |
@@ -587,9 +587,9 @@ _edje_program_run(Edje *ed, Edje_Program *pr, Eina_Bool force, const char *ssig, | |||
587 | low_mem_current: | 587 | low_mem_current: |
588 | if (rp->current) | 588 | if (rp->current) |
589 | { | 589 | { |
590 | eina_cow_free(_edje_calc_params_map_cow, rp->current->map); | 590 | eina_cow_free(_edje_calc_params_map_cow, (const Eina_Cow_Data **) &rp->current->map); |
591 | #ifdef HAVE_EPHYSICS | 591 | #ifdef HAVE_EPHYSICS |
592 | eina_cow_free(_edje_calc_params_physics_cow, rp->current->physics); | 592 | eina_cow_free(_edje_calc_params_physics_cow, (const Eina_Cow_Data **) &rp->current->physics); |
593 | #endif | 593 | #endif |
594 | free(rp->current); | 594 | free(rp->current); |
595 | } | 595 | } |