summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_list_example_1.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-29 00:42:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-29 13:30:55 +0900
commit2fb5cc3ad09f6aaf82b5d1131ac5ed22ed848bd4 (patch)
tree7a2c2c0371789ae4b139ebdf4a9ef60f82d324aa /src/examples/elementary/efl_ui_list_example_1.c
parentcc2b7a10a8236e2b3cc4a25b4b4fda95e00884fc (diff)
efl_add_ref - fis to use efl_add properly with a parent.
fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and 168849e8a08966ecc284e28f64126a3a85965965
Diffstat (limited to 'src/examples/elementary/efl_ui_list_example_1.c')
-rw-r--r--src/examples/elementary/efl_ui_list_example_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/efl_ui_list_example_1.c b/src/examples/elementary/efl_ui_list_example_1.c
index eeb2f2329e..9a44853d64 100644
--- a/src/examples/elementary/efl_ui_list_example_1.c
+++ b/src/examples/elementary/efl_ui_list_example_1.c
@@ -49,7 +49,7 @@ _make_model()
49 unsigned int i, s; 49 unsigned int i, s;
50 char buf[256]; 50 char buf[256];
51 51
52 model = efl_add_ref(EFL_MODEL_ITEM_CLASS, NULL); 52 model = efl_add(EFL_MODEL_ITEM_CLASS, efl_main_loop_get());
53 eina_value_setup(&vtext, EINA_VALUE_TYPE_STRING); 53 eina_value_setup(&vtext, EINA_VALUE_TYPE_STRING);
54 54
55 for (i = 0; i < (NUM_ITEMS); i++) 55 for (i = 0; i < (NUM_ITEMS); i++)