summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_flip_page.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_flip_page.c')
-rw-r--r--src/bin/elementary/test_flip_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_flip_page.c b/src/bin/elementary/test_flip_page.c
index 2aebf17..4dc2734 100644
--- a/src/bin/elementary/test_flip_page.c
+++ b/src/bin/elementary/test_flip_page.c
@@ -130,7 +130,7 @@ _slice_apply(State *st, Slice *sl,
130static void 130static void
131_slice_3d(State *st EINA_UNUSED, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) 131_slice_3d(State *st EINA_UNUSED, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
132{ 132{
133 Evas_Map *m = (Evas_Map *)evas_object_map_get(sl->obj); 133 Evas_Map *m = evas_map_dup(evas_object_map_get(sl->obj));
134 int i; 134 int i;
135 135
136 if (!m) return; 136 if (!m) return;
@@ -145,6 +145,7 @@ _slice_3d(State *st EINA_UNUSED, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coo
145 if (evas_map_util_clockwise_get(m)) evas_object_show(sl->obj); 145 if (evas_map_util_clockwise_get(m)) evas_object_show(sl->obj);
146 else evas_object_hide(sl->obj); 146 else evas_object_hide(sl->obj);
147 evas_object_map_set(sl->obj, m); 147 evas_object_map_set(sl->obj, m);
148 evas_map_free(m);
148} 149}
149 150
150static void 151static void
@@ -663,7 +664,6 @@ _state_update(State *st)
663 num++; 664 num++;
664 } 665 }
665 } 666 }
666
667 num = 0; 667 num = 0;
668 for (i = 0; i < st->slices_w; i++) 668 for (i = 0; i < st->slices_w; i++)
669 { 669 {