From 504ad62a6bc6c02cf8bb6727aeda4c7090af261b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 14 Feb 2018 21:14:52 -0500 Subject: [PATCH] elm_genlist: parent -> parent_item --- src/lib/elementary/elm_genlist.c | 2 +- src/lib/elementary/elm_genlist_item.eo | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index d2fac798d6..d78bd57672 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -6861,7 +6861,7 @@ _elm_genlist_item_prev_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN static Elm_Object_Item * -_elm_genlist_item_parent_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_parent_item_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, NULL); diff --git a/src/lib/elementary/elm_genlist_item.eo b/src/lib/elementary/elm_genlist_item.eo index dff1b55302..fcc789ddbf 100644 --- a/src/lib/elementary/elm_genlist_item.eo +++ b/src/lib/elementary/elm_genlist_item.eo @@ -82,7 +82,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy) item: Elm.Widget.Item; [[The item after $item, or $null if there's none (and on errors).]] } } - @property parent { + @property parent_item { get { [[Get the parent item of the given item @@ -90,6 +90,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy) of the item $it on \@ref elm_genlist_item_append and insertion related functions. ]] + legacy: elm_genlist_item_parent_get; } values { item: Elm.Widget.Item; [[The parent of the item or $null if it has no parent.]]