forked from enlightenment/enlightenment
Use list_remove_list as we already have the node we want, and break
afterward as we don't need to keep iterating. Thanks raster :) SVN revision: 26936
This commit is contained in:
parent
e0c01fd739
commit
234a112b3e
|
@ -281,7 +281,9 @@ _cb_confirm_yes(void *data)
|
||||||
evas_stringshare_del(mi->mime);
|
evas_stringshare_del(mi->mime);
|
||||||
if (mi->icon)
|
if (mi->icon)
|
||||||
evas_stringshare_del(mi->icon);
|
evas_stringshare_del(mi->icon);
|
||||||
e_config->mime_icons = evas_list_remove(e_config->mime_icons, mi);
|
e_config->mime_icons = evas_list_remove_list(e_config->mime_icons,
|
||||||
|
e_config->mime_icons);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
_fill_data(cfdata);
|
_fill_data(cfdata);
|
||||||
_fill_list(cfdata);
|
_fill_list(cfdata);
|
||||||
|
|
Loading…
Reference in New Issue