summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-04 17:51:29 +0100
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-12 10:15:03 +0100
commit7f43b93821ec597fd906a4d952f1db2199504fe4 (patch)
treedfb4acd10021ea45987f0e89ce9491960e58700c
parent4bdd98ed04af631fc68783916f90a20fd1e99d10 (diff)
Revert "Genlist: only get item data if needed."
This actually doesn't work for coverity, I guess we just need to mark it as false-positive, as it will never be null. This reverts commit 178e7e6ac9419742d1bbe583fd252fc6536e5649.
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index a5a34fff2..cb71fb95d 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -3941,12 +3941,11 @@ _swipe_do(Elm_Gen_Item *it)
3941{ 3941{
3942 int i, sum = 0; 3942 int i, sum = 0;
3943 Eina_Bool tmp; 3943 Eina_Bool tmp;
3944 ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd);
3944 3945
3945 if (_is_no_select(it) || 3946 if (_is_no_select(it) ||
3946 eo_do_ret(EO_OBJ(it), tmp, elm_wdg_item_disabled_get())) return; 3947 eo_do_ret(EO_OBJ(it), tmp, elm_wdg_item_disabled_get())) return;
3947 3948
3948 ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd);
3949
3950 sd->swipe = EINA_FALSE; 3949 sd->swipe = EINA_FALSE;
3951 for (i = 0; i < sd->movements; i++) 3950 for (i = 0; i < sd->movements; i++)
3952 { 3951 {