summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/elementary/src/lib/elm_transit.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/legacy/elementary/src/lib/elm_transit.c b/legacy/elementary/src/lib/elm_transit.c
index 740008f90f..7fbeb187f8 100644
--- a/legacy/elementary/src/lib/elm_transit.c
+++ b/legacy/elementary/src/lib/elm_transit.c
@@ -192,12 +192,8 @@ _transit_obj_data_recover(Elm_Transit *transit, Evas_Object *obj)
192 evas_object_color_set(obj, state->r, state->g, state->b, state->a); 192 evas_object_color_set(obj, state->r, state->g, state->b, state->a);
193 if (state->visible) evas_object_show(obj); 193 if (state->visible) evas_object_show(obj);
194 else evas_object_hide(obj); 194 else evas_object_hide(obj);
195 if (state->map_enabled) 195 evas_object_map_enable_set(obj, state->map_enabled);
196 evas_object_map_enable_set(obj, EINA_TRUE); 196 evas_object_map_set(obj, state->map);
197 else
198 evas_object_map_enable_set(obj, EINA_FALSE);
199 if (state->map)
200 evas_object_map_set(obj, state->map);
201 } 197 }
202 free(state); 198 free(state);
203 } 199 }