forked from enlightenment/efl
elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
This commit is contained in:
parent
ac3ab1c465
commit
78c042cdbe
|
@ -1114,7 +1114,7 @@ _elm_ctxpopup_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
evas_object_del(sd->bg);
|
||||
sd->bg = NULL;
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
elm_widget_item_free(it);
|
||||
|
||||
eo_do_super(obj, evas_obj_smart_del());
|
||||
|
|
|
@ -458,7 +458,7 @@ _populate(Evas_Object *obj,
|
|||
|
||||
dirs = eina_list_sort
|
||||
(dirs, eina_list_count(dirs), EINA_COMPARE_CB(strcoll));
|
||||
EINA_LIST_FREE (dirs, entry)
|
||||
EINA_LIST_FREE(dirs, entry)
|
||||
{
|
||||
if (sd->mode == ELM_FILESELECTOR_LIST)
|
||||
elm_genlist_item_append(sd->files_list, list_itc[ELM_DIRECTORY],
|
||||
|
@ -473,7 +473,7 @@ _populate(Evas_Object *obj,
|
|||
NULL, NULL);
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (files, entry)
|
||||
EINA_LIST_FREE(files, entry)
|
||||
{
|
||||
Elm_Fileselector_Type type =
|
||||
evas_object_image_extension_can_load_fast_get(entry) ?
|
||||
|
|
|
@ -220,7 +220,7 @@ _elm_hoversel_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
Elm_Hoversel_Smart_Data *sd = _pd;
|
||||
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
{
|
||||
eina_stringshare_del(item->label);
|
||||
eina_stringshare_del(item->icon_file);
|
||||
|
|
|
@ -1543,7 +1543,7 @@ _elm_multibuttonentry_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
Elm_Multibuttonentry_Smart_Data *sd = _pd;
|
||||
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
{
|
||||
evas_object_del(item->button);
|
||||
free(item);
|
||||
|
@ -1991,7 +1991,7 @@ _clear(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
if (sd->items)
|
||||
{
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
{
|
||||
elm_box_unpack(sd->box, item->button);
|
||||
evas_object_del(item->button);
|
||||
|
|
|
@ -170,7 +170,7 @@ _items_remove(Elm_Popup_Smart_Data *sd)
|
|||
|
||||
if (!sd->items) return;
|
||||
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
elm_widget_item_del(item);
|
||||
|
||||
sd->items = NULL;
|
||||
|
|
|
@ -302,7 +302,7 @@ _transition_layout_load_children_list(Evas_Object_Box_Data *priv,
|
|||
Evas_Object_Box_Option *opt;
|
||||
Transition_Animation_Data *tad;
|
||||
|
||||
EINA_LIST_FREE (layout_data->objs, tad)
|
||||
EINA_LIST_FREE(layout_data->objs, tad)
|
||||
free(tad);
|
||||
|
||||
EINA_LIST_FOREACH(priv->children, l, opt)
|
||||
|
@ -310,7 +310,7 @@ _transition_layout_load_children_list(Evas_Object_Box_Data *priv,
|
|||
tad = calloc(1, sizeof(Transition_Animation_Data));
|
||||
if (!tad)
|
||||
{
|
||||
EINA_LIST_FREE (layout_data->objs, tad)
|
||||
EINA_LIST_FREE(layout_data->objs, tad)
|
||||
free(tad);
|
||||
layout_data->objs = NULL;
|
||||
return EINA_FALSE;
|
||||
|
@ -784,7 +784,7 @@ elm_box_transition_free(void *data)
|
|||
box_data->start.free_data(box_data->start.data);
|
||||
if ((box_data->end.free_data) && (box_data->end.data))
|
||||
box_data->end.free_data(box_data->end.data);
|
||||
EINA_LIST_FREE (box_data->objs, tad)
|
||||
EINA_LIST_FREE(box_data->objs, tad)
|
||||
free(tad);
|
||||
|
||||
evas_object_event_callback_del
|
||||
|
|
|
@ -1032,7 +1032,7 @@ _elm_calendar_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
if (sd->marks)
|
||||
{
|
||||
EINA_LIST_FREE (sd->marks, mark)
|
||||
EINA_LIST_FREE(sd->marks, mark)
|
||||
{
|
||||
_mark_free(mark);
|
||||
}
|
||||
|
@ -1478,7 +1478,7 @@ _marks_clear(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
|||
Elm_Calendar_Smart_Data *sd = _pd;
|
||||
Elm_Calendar_Mark *mark;
|
||||
|
||||
EINA_LIST_FREE (sd->marks, mark)
|
||||
EINA_LIST_FREE(sd->marks, mark)
|
||||
_mark_free(mark);
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ _items_del(Elm_Colorselector_Smart_Data *sd)
|
|||
|
||||
if (!sd->items) return;
|
||||
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
{
|
||||
free(item->color);
|
||||
elm_widget_item_free(item);
|
||||
|
|
|
@ -445,7 +445,7 @@ _elm_dayselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
Elm_Dayselector_Item *it;
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
sd->items = eina_list_remove(sd->items, it);
|
||||
eina_stringshare_del(it->day_style);
|
||||
|
|
|
@ -1390,7 +1390,7 @@ _elm_diskselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
}
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
_item_del(it);
|
||||
elm_widget_item_free(it);
|
||||
|
@ -1702,7 +1702,7 @@ _clear(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
if (!sd->items) return;
|
||||
|
||||
sd->selected_item = NULL;
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
_item_del(it);
|
||||
elm_widget_item_free(it);
|
||||
|
|
|
@ -2974,18 +2974,18 @@ _elm_entry_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
sd->append_text_idler = NULL;
|
||||
}
|
||||
if (sd->longpress_timer) ecore_timer_del(sd->longpress_timer);
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
eina_stringshare_del(it->label);
|
||||
eina_stringshare_del(it->icon_file);
|
||||
eina_stringshare_del(it->icon_group);
|
||||
free(it);
|
||||
}
|
||||
EINA_LIST_FREE (sd->item_providers, ip)
|
||||
EINA_LIST_FREE(sd->item_providers, ip)
|
||||
{
|
||||
free(ip);
|
||||
}
|
||||
EINA_LIST_FREE (sd->markup_filters, tf)
|
||||
EINA_LIST_FREE(sd->markup_filters, tf)
|
||||
{
|
||||
_filter_free(tf);
|
||||
}
|
||||
|
@ -3896,7 +3896,7 @@ _context_menu_clear(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
Elm_Entry_Smart_Data *sd = _pd;
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
eina_stringshare_del(it->label);
|
||||
eina_stringshare_del(it->icon_file);
|
||||
|
|
|
@ -531,7 +531,7 @@ _elm_gengrid_item_unrealize(Elm_Gen_Item *it,
|
|||
it->contents = NULL;
|
||||
elm_widget_stringlist_free(it->states);
|
||||
it->states = NULL;
|
||||
EINA_LIST_FREE (it->content_objs, content)
|
||||
EINA_LIST_FREE(it->content_objs, content)
|
||||
evas_object_del(content);
|
||||
|
||||
it->unrealize_cb(it);
|
||||
|
|
|
@ -374,7 +374,7 @@ _elm_genlist_item_unrealize(Elm_Gen_Item *it,
|
|||
it->contents = NULL;
|
||||
elm_widget_stringlist_free(it->states);
|
||||
it->states = NULL;
|
||||
EINA_LIST_FREE (it->content_objs, content)
|
||||
EINA_LIST_FREE(it->content_objs, content)
|
||||
evas_object_del(content);
|
||||
|
||||
it->unrealize_cb(it);
|
||||
|
@ -759,7 +759,7 @@ _item_sub_items_clear(Elm_Gen_Item *it)
|
|||
|
||||
EINA_LIST_FOREACH(it->item->items, l, it2)
|
||||
tl = eina_list_append(tl, it2);
|
||||
EINA_LIST_FREE (tl, it2)
|
||||
EINA_LIST_FREE(tl, it2)
|
||||
elm_object_item_del(it2);
|
||||
}
|
||||
|
||||
|
@ -2875,7 +2875,7 @@ _decorate_all_item_unrealize(Elm_Gen_Item *it)
|
|||
it->item->deco_all_contents = NULL;
|
||||
elm_widget_stringlist_free(it->item->deco_all_states);
|
||||
it->item->deco_all_states = NULL;
|
||||
EINA_LIST_FREE (it->item->deco_all_content_objs, icon)
|
||||
EINA_LIST_FREE(it->item->deco_all_content_objs, icon)
|
||||
evas_object_del(icon);
|
||||
edje_object_message_signal_process(it->deco_all_view);
|
||||
_item_mouse_callbacks_del(it, it->deco_all_view);
|
||||
|
@ -4179,7 +4179,7 @@ _decorate_item_unrealize(Elm_Gen_Item *it)
|
|||
it->item->deco_it_contents = NULL;
|
||||
elm_widget_stringlist_free(it->item->deco_it_states);
|
||||
|
||||
EINA_LIST_FREE (it->item->deco_it_content_objs, content)
|
||||
EINA_LIST_FREE(it->item->deco_it_content_objs, content)
|
||||
evas_object_del(content);
|
||||
|
||||
edje_object_part_unswallow(it->item->deco_it_view, VIEW(it));
|
||||
|
@ -4295,7 +4295,7 @@ _item_unrealize_cb(Elm_Gen_Item *it)
|
|||
Evas_Object *content;
|
||||
elm_widget_stringlist_free(it->item->flip_contents);
|
||||
it->item->flip_contents = NULL;
|
||||
EINA_LIST_FREE (it->item->flip_content_objs, content)
|
||||
EINA_LIST_FREE(it->item->flip_content_objs, content)
|
||||
evas_object_del(content);
|
||||
|
||||
/* access */
|
||||
|
@ -6208,7 +6208,7 @@ elm_genlist_item_all_contents_unset(Elm_Object_Item *it,
|
|||
|
||||
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it);
|
||||
|
||||
EINA_LIST_FREE (((Elm_Gen_Item *)it)->content_objs, content)
|
||||
EINA_LIST_FREE(((Elm_Gen_Item *)it)->content_objs, content)
|
||||
{
|
||||
elm_widget_sub_object_del(WIDGET(it), content);
|
||||
evas_object_smart_member_del(content);
|
||||
|
|
|
@ -1403,8 +1403,8 @@ _tap_gestures_test_reset(Gesture_Info *gesture)
|
|||
if (!gesture->data)
|
||||
return;
|
||||
|
||||
EINA_LIST_FREE (((Taps_Type *)gesture->data)->l, data)
|
||||
EINA_LIST_FREE (data, pe)
|
||||
EINA_LIST_FREE(((Taps_Type *)gesture->data)->l, data)
|
||||
EINA_LIST_FREE(data, pe)
|
||||
free(pe);
|
||||
|
||||
memset(gesture->data, 0, sizeof(Taps_Type));
|
||||
|
@ -3625,7 +3625,7 @@ _elm_gesture_layer_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
_event_history_clear(obj);
|
||||
eina_list_free(sd->pending);
|
||||
|
||||
EINA_LIST_FREE (sd->touched, data)
|
||||
EINA_LIST_FREE(sd->touched, data)
|
||||
free(data);
|
||||
|
||||
if (!elm_widget_disabled_get(obj))
|
||||
|
|
|
@ -287,7 +287,7 @@ _clear(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
|
|||
if (!clear)
|
||||
{
|
||||
chld = evas_object_grid_children_get(wd->resize_obj);
|
||||
EINA_LIST_FREE (chld, o)
|
||||
EINA_LIST_FREE(chld, o)
|
||||
elm_widget_sub_object_del(obj, o);
|
||||
}
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ _icon_thumb_cleanup(Ethumb_Client *ethumbd)
|
|||
}
|
||||
|
||||
if (_icon_pending_request == 0)
|
||||
EINA_LIST_FREE (_elm_icon_retry, sd)
|
||||
EINA_LIST_FREE(_elm_icon_retry, sd)
|
||||
_icon_thumb_stop(sd, ethumbd);
|
||||
}
|
||||
|
||||
|
@ -354,7 +354,7 @@ _edje_signals_free(Elm_Icon_Smart_Data *sd)
|
|||
{
|
||||
Edje_Signal_Data *esd;
|
||||
|
||||
EINA_LIST_FREE (sd->edje_signals, esd)
|
||||
EINA_LIST_FREE(sd->edje_signals, esd)
|
||||
{
|
||||
eina_stringshare_del(esd->emission);
|
||||
eina_stringshare_del(esd->source);
|
||||
|
|
|
@ -1555,7 +1555,7 @@ _item_clear(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
if (it->level != sd->level) continue;
|
||||
clear = eina_list_append(clear, it);
|
||||
}
|
||||
EINA_LIST_FREE (clear, it)
|
||||
EINA_LIST_FREE(clear, it)
|
||||
{
|
||||
_item_free(it);
|
||||
elm_widget_item_del(it);
|
||||
|
|
|
@ -1165,7 +1165,7 @@ _elm_layout_smart_box_remove_all(Eo *obj, void *_pd, va_list *list)
|
|||
Eina_List *lst;
|
||||
|
||||
lst = eina_list_clone(sd->subs);
|
||||
EINA_LIST_FREE (lst, sub_d)
|
||||
EINA_LIST_FREE(lst, sub_d)
|
||||
{
|
||||
if (!_sub_box_is(sub_d)) continue;
|
||||
if (!strcmp(sub_d->part, part))
|
||||
|
@ -1305,7 +1305,7 @@ _elm_layout_smart_table_clear(Eo *obj, void *_pd, va_list *list)
|
|||
Eina_List *lst;
|
||||
|
||||
lst = eina_list_clone(sd->subs);
|
||||
EINA_LIST_FREE (lst, sub_d)
|
||||
EINA_LIST_FREE(lst, sub_d)
|
||||
{
|
||||
if (sub_d->type != TABLE_PACK) continue;
|
||||
if (!strcmp(sub_d->part, part))
|
||||
|
@ -1365,7 +1365,7 @@ _elm_layout_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
elm_layout_freeze(obj);
|
||||
|
||||
EINA_LIST_FREE (sd->subs, sub_d)
|
||||
EINA_LIST_FREE(sd->subs, sub_d)
|
||||
{
|
||||
eina_stringshare_del(sub_d->part);
|
||||
|
||||
|
@ -1375,10 +1375,10 @@ _elm_layout_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
free(sub_d);
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (sd->parts_cursors, pc)
|
||||
EINA_LIST_FREE(sd->parts_cursors, pc)
|
||||
_part_cursor_free(pc);
|
||||
|
||||
EINA_LIST_FREE (sd->edje_signals, esd)
|
||||
EINA_LIST_FREE(sd->edje_signals, esd)
|
||||
{
|
||||
eina_stringshare_del(esd->emission);
|
||||
eina_stringshare_del(esd->source);
|
||||
|
|
|
@ -375,7 +375,7 @@ _elm_list_deletions_process(Elm_List_Smart_Data *sd)
|
|||
|
||||
sd->walking++; // avoid nested deletion and also _sub_del() items_fix
|
||||
|
||||
EINA_LIST_FREE (sd->to_delete, it)
|
||||
EINA_LIST_FREE(sd->to_delete, it)
|
||||
{
|
||||
sd->items = eina_list_remove_list(sd->items, it->node);
|
||||
|
||||
|
@ -1671,7 +1671,7 @@ _elm_list_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
_elm_list_walk(sd);
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
/* issuing free because of "locking" item del pre hook */
|
||||
_elm_list_item_free(it);
|
||||
|
@ -2030,7 +2030,7 @@ _clear(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
_elm_list_walk(sd);
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
/* issuing free because of "locking" item del pre hook */
|
||||
_elm_list_item_free(it);
|
||||
|
|
|
@ -935,7 +935,7 @@ _grid_all_clear(Elm_Map_Smart_Data *sd)
|
|||
|
||||
EINA_SAFETY_ON_NULL_RETURN(sd);
|
||||
|
||||
EINA_LIST_FREE (sd->grids, g)
|
||||
EINA_LIST_FREE(sd->grids, g)
|
||||
{
|
||||
Eina_Matrixsparse_Cell *cell;
|
||||
Eina_Iterator *it = eina_matrixsparse_iterator_new(g->grid);
|
||||
|
@ -1316,7 +1316,7 @@ _region_max_min_get(Eina_List *overlays,
|
|||
double max_lat = -90, min_lat = 90;
|
||||
Elm_Map_Overlay *overlay;
|
||||
|
||||
EINA_LIST_FREE (overlays, overlay)
|
||||
EINA_LIST_FREE(overlays, overlay)
|
||||
{
|
||||
double lon, lat;
|
||||
|
||||
|
@ -2069,10 +2069,10 @@ _overlay_route_free(Overlay_Route *route)
|
|||
|
||||
evas_object_del(route->obj);
|
||||
|
||||
EINA_LIST_FREE (route->paths, p)
|
||||
EINA_LIST_FREE(route->paths, p)
|
||||
free(p);
|
||||
|
||||
EINA_LIST_FREE (route->nodes, n)
|
||||
EINA_LIST_FREE(route->nodes, n)
|
||||
{
|
||||
if (n->pos.address) eina_stringshare_del(n->pos.address);
|
||||
free(n);
|
||||
|
@ -2231,7 +2231,7 @@ _overlay_polygon_free(Overlay_Polygon *ovl)
|
|||
|
||||
evas_object_del(ovl->obj);
|
||||
|
||||
EINA_LIST_FREE (ovl->regions, r)
|
||||
EINA_LIST_FREE(ovl->regions, r)
|
||||
free(r);
|
||||
|
||||
free(ovl);
|
||||
|
@ -4076,7 +4076,7 @@ _elm_map_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
eina_list_free(sd->group_overlays);
|
||||
eina_list_free(sd->all_overlays);
|
||||
|
||||
EINA_LIST_FREE (sd->track, track)
|
||||
EINA_LIST_FREE(sd->track, track)
|
||||
evas_object_del(track);
|
||||
|
||||
if (sd->scr_timer) ecore_timer_del(sd->scr_timer);
|
||||
|
@ -5058,13 +5058,13 @@ elm_map_route_del(Elm_Map_Route *route)
|
|||
|
||||
if (route->job) ecore_file_download_abort(route->job);
|
||||
|
||||
EINA_LIST_FREE (route->waypoint, w)
|
||||
EINA_LIST_FREE(route->waypoint, w)
|
||||
{
|
||||
if (w->point) eina_stringshare_del(w->point);
|
||||
free(w);
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (route->nodes, n)
|
||||
EINA_LIST_FREE(route->nodes, n)
|
||||
{
|
||||
if (n->pos.address) eina_stringshare_del(n->pos.address);
|
||||
free(n);
|
||||
|
|
|
@ -19,7 +19,7 @@ _item_del(Elm_Menu_Item *item)
|
|||
{
|
||||
Elm_Menu_Item *child;
|
||||
|
||||
EINA_LIST_FREE (item->submenu.items, child)
|
||||
EINA_LIST_FREE(item->submenu.items, child)
|
||||
_item_del(child);
|
||||
|
||||
if (item->label) eina_stringshare_del(item->label);
|
||||
|
@ -598,7 +598,7 @@ _elm_menu_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
evas_object_event_callback_del_full
|
||||
(sd->parent, EVAS_CALLBACK_DEL, _parent_del_cb, obj);
|
||||
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
_item_del(item);
|
||||
|
||||
evas_object_event_callback_del_full
|
||||
|
@ -875,7 +875,7 @@ _item_del_pre_hook(Elm_Object_Item *it)
|
|||
|
||||
ELM_MENU_DATA_GET(WIDGET(item), sd);
|
||||
|
||||
EINA_LIST_FREE (item->submenu.items, _item)
|
||||
EINA_LIST_FREE(item->submenu.items, _item)
|
||||
elm_object_item_del(_item);
|
||||
if (item->label) eina_stringshare_del(item->label);
|
||||
if (item->content) evas_object_del(item->content);
|
||||
|
|
|
@ -615,7 +615,7 @@ _grid_clear_all(Evas_Object *obj)
|
|||
|
||||
ELM_PHOTOCAM_DATA_GET(obj, sd);
|
||||
|
||||
EINA_LIST_FREE (sd->grids, g)
|
||||
EINA_LIST_FREE(sd->grids, g)
|
||||
{
|
||||
_grid_clear(obj, g);
|
||||
free(g);
|
||||
|
@ -1370,7 +1370,7 @@ _elm_photocam_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
Elm_Photocam_Smart_Data *sd = _pd;
|
||||
|
||||
EINA_LIST_FREE (sd->grids, g)
|
||||
EINA_LIST_FREE(sd->grids, g)
|
||||
{
|
||||
if (g->grid) free(g->grid);
|
||||
free(g);
|
||||
|
@ -1725,7 +1725,7 @@ _zoom_set(Eo *obj, void *_pd, va_list *list)
|
|||
}
|
||||
else
|
||||
{
|
||||
EINA_LIST_FREE (sd->grids, g)
|
||||
EINA_LIST_FREE(sd->grids, g)
|
||||
{
|
||||
_grid_clear(obj, g);
|
||||
free(g);
|
||||
|
|
|
@ -22,7 +22,7 @@ _clear_route(Evas_Object *obj)
|
|||
sd->lat_max = EMAP_LAT_MIN;
|
||||
#endif
|
||||
|
||||
EINA_LIST_FREE (sd->segments, segment)
|
||||
EINA_LIST_FREE(sd->segments, segment)
|
||||
{
|
||||
evas_object_del(segment->obj);
|
||||
free(segment);
|
||||
|
|
|
@ -610,7 +610,7 @@ _elm_segment_control_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
Elm_Segment_Control_Smart_Data *sd = _pd;
|
||||
|
||||
EINA_LIST_FREE (sd->items, it)
|
||||
EINA_LIST_FREE(sd->items, it)
|
||||
{
|
||||
_item_free(it);
|
||||
elm_widget_item_free(it);
|
||||
|
|
|
@ -354,7 +354,7 @@ _elm_slideshow_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
elm_widget_stringlist_free(sd->transitions);
|
||||
if (sd->timer) ecore_timer_del(sd->timer);
|
||||
|
||||
EINA_LIST_FREE (sd->layout.list, layout)
|
||||
EINA_LIST_FREE(sd->layout.list, layout)
|
||||
eina_stringshare_del(layout);
|
||||
|
||||
eo_do_super(obj, evas_obj_smart_del());
|
||||
|
@ -775,13 +775,13 @@ _elm_slideshow_clear(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
|||
|
||||
sd->previous = NULL;
|
||||
sd->current = NULL;
|
||||
EINA_LIST_FREE (sd->items_built, item)
|
||||
EINA_LIST_FREE(sd->items_built, item)
|
||||
{
|
||||
if (item->itc->func.del)
|
||||
item->itc->func.del(elm_widget_item_data_get(item), VIEW(item));
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (sd->items, item)
|
||||
EINA_LIST_FREE(sd->items, item)
|
||||
elm_widget_item_free(item);
|
||||
}
|
||||
|
||||
|
|
|
@ -683,7 +683,7 @@ _elm_spinner_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
if (sd->spin) ecore_timer_del(sd->spin);
|
||||
if (sd->special_values)
|
||||
{
|
||||
EINA_LIST_FREE (sd->special_values, sv)
|
||||
EINA_LIST_FREE(sd->special_values, sv)
|
||||
{
|
||||
eina_stringshare_del(sv->label);
|
||||
free(sv);
|
||||
|
|
|
@ -281,7 +281,7 @@ _thumb_finish(Elm_Thumb_Smart_Data *sd,
|
|||
}
|
||||
|
||||
if (pending_request == 0)
|
||||
EINA_LIST_FREE (retry, sd)
|
||||
EINA_LIST_FREE(retry, sd)
|
||||
{
|
||||
eina_stringshare_del(sd->thumb.thumb_path);
|
||||
sd->thumb.thumb_path = NULL;
|
||||
|
|
|
@ -246,7 +246,7 @@ _elm_widget_smart_del(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
|||
}
|
||||
sd->tooltips = eina_list_free(sd->tooltips); /* should be empty anyway */
|
||||
sd->cursors = eina_list_free(sd->cursors); /* should be empty anyway */
|
||||
EINA_LIST_FREE (sd->translate_strings, ts)
|
||||
EINA_LIST_FREE(sd->translate_strings, ts)
|
||||
{
|
||||
eina_stringshare_del(ts->id);
|
||||
eina_stringshare_del(ts->domain);
|
||||
|
@ -254,7 +254,7 @@ _elm_widget_smart_del(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
|||
free(ts);
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (sd->event_cb, ecb)
|
||||
EINA_LIST_FREE(sd->event_cb, ecb)
|
||||
free(ecb);
|
||||
|
||||
if (sd->style) eina_stringshare_del(sd->style);
|
||||
|
@ -313,7 +313,7 @@ _elm_widget_smart_show(Eo *obj, void *_pd EINA_UNUSED, va_list *params_list EINA
|
|||
|
||||
if ((list = evas_object_smart_members_get(obj)))
|
||||
{
|
||||
EINA_LIST_FREE (list, o)
|
||||
EINA_LIST_FREE(list, o)
|
||||
{
|
||||
if (evas_object_data_get(o, "_elm_leaveme")) continue;
|
||||
evas_object_show(o);
|
||||
|
@ -328,7 +328,7 @@ _elm_widget_smart_hide(Eo *obj, void *_pd EINA_UNUSED, va_list *params_list EINA
|
|||
Evas_Object *o;
|
||||
|
||||
list = evas_object_smart_members_get(obj);
|
||||
EINA_LIST_FREE (list, o)
|
||||
EINA_LIST_FREE(list, o)
|
||||
{
|
||||
if (evas_object_data_get(o, "_elm_leaveme")) continue;
|
||||
evas_object_hide(o);
|
||||
|
@ -347,7 +347,7 @@ _elm_widget_smart_color_set(Eo *obj, void *_pd EINA_UNUSED, va_list *params_list
|
|||
|
||||
if ((list = evas_object_smart_members_get(obj)))
|
||||
{
|
||||
EINA_LIST_FREE (list, o)
|
||||
EINA_LIST_FREE(list, o)
|
||||
{
|
||||
if (evas_object_data_get(o, "_elm_leaveme")) continue;
|
||||
evas_object_color_set(o, r, g, b, a);
|
||||
|
@ -364,7 +364,7 @@ _elm_widget_smart_clip_set(Eo *obj, void *_pd EINA_UNUSED, va_list *params_list)
|
|||
|
||||
if ((list = evas_object_smart_members_get(obj)))
|
||||
{
|
||||
EINA_LIST_FREE (list, o)
|
||||
EINA_LIST_FREE(list, o)
|
||||
{
|
||||
if (evas_object_data_get(o, "_elm_leaveme")) continue;
|
||||
evas_object_clip_set(o, clip);
|
||||
|
@ -380,7 +380,7 @@ _elm_widget_smart_clip_unset(Eo *obj, void *_pd EINA_UNUSED, va_list *params_lis
|
|||
|
||||
if ((list = evas_object_smart_members_get(obj)))
|
||||
{
|
||||
EINA_LIST_FREE (list, o)
|
||||
EINA_LIST_FREE(list, o)
|
||||
{
|
||||
if (evas_object_data_get(o, "_elm_leaveme")) continue;
|
||||
evas_object_clip_unset(o);
|
||||
|
@ -4222,7 +4222,7 @@ EAPI void
|
|||
elm_widget_stringlist_free(Eina_List *list)
|
||||
{
|
||||
const char *s;
|
||||
EINA_LIST_FREE (list, s)
|
||||
EINA_LIST_FREE(list, s)
|
||||
eina_stringshare_del(s);
|
||||
}
|
||||
|
||||
|
@ -4602,14 +4602,14 @@ _elm_widget_item_free(Elm_Widget_Item *item)
|
|||
if (item->access_info)
|
||||
eina_stringshare_del(item->access_info);
|
||||
|
||||
EINA_LIST_FREE (item->signals, wisd)
|
||||
EINA_LIST_FREE(item->signals, wisd)
|
||||
{
|
||||
eina_stringshare_del(wisd->emission);
|
||||
eina_stringshare_del(wisd->source);
|
||||
free(wisd);
|
||||
}
|
||||
|
||||
EINA_LIST_FREE (item->translate_strings, ts)
|
||||
EINA_LIST_FREE(item->translate_strings, ts)
|
||||
{
|
||||
eina_stringshare_del(ts->id);
|
||||
eina_stringshare_del(ts->domain);
|
||||
|
|
Loading…
Reference in New Issue