summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-11 09:56:22 +0900
committerChris Michael <cp.michael@samsung.com>2017-04-11 11:51:50 -0400
commit2fc504ea518dbbca51dfa5d12ff1b234c226e63b (patch)
treeee82b5abda10abaef71aece46baa235ee4ac6bd4
parentfdb277fd86a8e488cf1530f0236ebd4a6f254907 (diff)
elementary - efl ui flip - fix map apply for page flip
this mirrors the fix in fd69113f6a9e2735a3e1ad2d0830982c722f453e by jp into the elm flip widget too. @fix
-rw-r--r--src/lib/elementary/efl_ui_flip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_flip.c b/src/lib/elementary/efl_ui_flip.c
index 5a6ff21dd7..5e697614a9 100644
--- a/src/lib/elementary/efl_ui_flip.c
+++ b/src/lib/elementary/efl_ui_flip.c
@@ -304,7 +304,7 @@ _slice_3d(Efl_Ui_Flip_Data *sd EINA_UNUSED,
304 Evas_Coord w, 304 Evas_Coord w,
305 Evas_Coord h) 305 Evas_Coord h)
306{ 306{
307 Evas_Map *m = (Evas_Map *)evas_object_map_get(sl->obj); 307 Evas_Map *m = evas_map_dup(evas_object_map_get(sl->obj));
308 int i; 308 int i;
309 309
310 if (!m) return; 310 if (!m) return;
@@ -322,6 +322,7 @@ _slice_3d(Efl_Ui_Flip_Data *sd EINA_UNUSED,
322 else evas_object_hide(sl->obj); 322 else evas_object_hide(sl->obj);
323 323
324 evas_object_map_set(sl->obj, m); 324 evas_object_map_set(sl->obj, m);
325 evas_map_free(m);
325} 326}
326 327
327static void 328static void