summaryrefslogtreecommitdiff
path: root/src/lib/items/elm_items_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/items/elm_items_list.c')
-rw-r--r--src/lib/items/elm_items_list.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/items/elm_items_list.c b/src/lib/items/elm_items_list.c
index 36c42cc..1aed339 100644
--- a/src/lib/items/elm_items_list.c
+++ b/src/lib/items/elm_items_list.c
@@ -17,10 +17,6 @@ typedef struct {
17 Eina_List *realitems; 17 Eina_List *realitems;
18} Elm_Items_List_Pan_Data; 18} Elm_Items_List_Pan_Data;
19 19
20#if 0
21#define PRINT_DEBUG
22#endif
23
24#define HACKY_HEIGHT 30 20#define HACKY_HEIGHT 30
25//================================== 21//==================================
26// Pan implement 22// Pan implement
@@ -54,9 +50,7 @@ _elm_items_list_pan_elm_items_pan_viewport_changed(Eo *obj, Elm_Items_List_Pan_D
54 if (last_item > eina_list_count(pd->realitems)) 50 if (last_item > eina_list_count(pd->realitems))
55 last_item = eina_list_count(pd->realitems); 51 last_item = eina_list_count(pd->realitems);
56 52
57 #ifdef PRINT_DEBUG 53 DBG("Size : (%d-%d-%d-%d) Pos :(%d-%d) Items:(%d-%d)\n", viewport.pos.x, viewport.pos.y, viewport.w, viewport.h, position.x, position.y, first_item, last_item);
58 printf("Size : (%d-%d-%d-%d) Pos :(%d-%d) Items:(%d-%d)\n", viewport.pos.x, viewport.pos.y, viewport.w, viewport.h, position.x, position.y, first_item, last_item);
59 #endif
60 54
61 //remove all children from the box if we have new items 55 //remove all children from the box if we have new items
62 if (pd->old_last != last_item || pd->old_first != first_item) 56 if (pd->old_last != last_item || pd->old_first != first_item)