summaryrefslogtreecommitdiff
path: root/src/lib/eio
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/lib/eio
parentcc2b7a10a8236e2b3cc4a25b4b4fda95e00884fc (diff)
efl_add_ref - fis to use efl_add properly with a parent.
fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and 168849e8a08966ecc284e28f64126a3a85965965
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index 76cdc246c0..c34257fa38 100644
--- a/src/lib/eio/eio_model.c
+++ b/src/lib/eio/eio_model.c
@@ -175,7 +175,7 @@ _efl_model_evt_added_ecore_cb(void *data, int type, void *event)
175 eina_stringshare_del(spath); 175 eina_stringshare_del(spath);
176 } 176 }
177 177
178 cevt.child = efl_add_ref(EIO_MODEL_CLASS, priv->obj, eio_model_path_set(efl_added, evt->filename)); 178 cevt.child = efl_add(EIO_MODEL_CLASS, priv->obj, eio_model_path_set(efl_added, evt->filename));
179 priv->children_list = eina_list_append(priv->children_list, cevt.child); 179 priv->children_list = eina_list_append(priv->children_list, cevt.child);
180 cevt.index = eina_list_count(priv->children_list); 180 cevt.index = eina_list_count(priv->children_list);
181 181