elementary/genlist - update to use new APIs
[framework/uifw/elementary.git] / src / examples / genlist_example_03.c
index 0672563..946fa84 100644 (file)
@@ -112,7 +112,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
    _genlist_fill(list);
 
    list = _genlist_add(box);
-   elm_genlist_horizontal_mode_set(list, ELM_LIST_LIMIT);
+   elm_genlist_mode_set(list, ELM_LIST_LIMIT);
    _genlist_fill(list);
 
    list = _genlist_add(box);