summaryrefslogtreecommitdiff
path: root/src/examples/genlist_example_03.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2012-03-07 16:07:34 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-07 16:07:34 +0000
commit98e2a0b81587cb3e91e54670b797d0451dd5f135 (patch)
treeaaf6cdf6fe111723a9e8bad09dc23d9194abb03f /src/examples/genlist_example_03.c
parentd24c2bf083616d1b9cc7cd8daf03d86a7e30ff5f (diff)
elm genlist: Deprecated elm_genlist_compress_mode_set/get and
elm_genlist_height_for_width_mode_set/get. Use elm_genlist_mode_set(obj, ELM_LIST_COMPRESS) instead. This may introduce bugs or performance issue but I will fix this soon. Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com> SVN revision: 68985
Diffstat (limited to 'src/examples/genlist_example_03.c')
-rw-r--r--src/examples/genlist_example_03.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/examples/genlist_example_03.c b/src/examples/genlist_example_03.c
index 1f67c8c24..ec25ceda5 100644
--- a/src/examples/genlist_example_03.c
+++ b/src/examples/genlist_example_03.c
@@ -111,20 +111,16 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
111 _itc->func.state_get = NULL; 111 _itc->func.state_get = NULL;
112 _itc->func.del = NULL; 112 _itc->func.del = NULL;
113 } 113 }
114
115 list = _genlist_add(box);
116 _genlist_fill(list);
117 114
118 list = _genlist_add(box); 115 list = _genlist_add(box);
119 elm_genlist_mode_set(list, ELM_LIST_LIMIT);
120 _genlist_fill(list); 116 _genlist_fill(list);
121 117
122 list = _genlist_add(box); 118 list = _genlist_add(box);
123 elm_genlist_compress_mode_set(list, EINA_TRUE); 119 elm_genlist_mode_set(list, ELM_LIST_LIMIT);
124 _genlist_fill(list); 120 _genlist_fill(list);
125 121
126 list = _genlist_add(box); 122 list = _genlist_add(box);
127 elm_genlist_height_for_width_mode_set(list, EINA_TRUE); 123 elm_genlist_mode_set(list, ELM_LIST_COMPRESS);
128 _genlist_fill(list); 124 _genlist_fill(list);
129 125
130 evas_object_size_hint_min_set(bg, 800, 160); 126 evas_object_size_hint_min_set(bg, 800, 160);