forked from enlightenment/efl
container: Remove method part_name_get
Remove this for now, as it may not apply to all contents. Note that this was a new API in EO.
This commit is contained in:
parent
55676b335c
commit
6cd8811fe9
|
@ -2117,7 +2117,6 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, Efl.Container, Efl.Part,
|
|||
Efl.File.file { get; set; }
|
||||
Efl.File.mmap { get; set; }
|
||||
Efl.Container.content_remove;
|
||||
Efl.Container.content_part_name { get; }
|
||||
Efl.Part.part;
|
||||
Efl.Observer.update;
|
||||
}
|
||||
|
|
|
@ -3704,18 +3704,6 @@ _edje_efl_container_content_get(Edje *ed, const char *part)
|
|||
return rp->typedata.swallow->swallowed_object;
|
||||
}
|
||||
|
||||
/* new in eo */
|
||||
EOLIAN const char *
|
||||
_edje_object_efl_container_content_part_name_get(Eo *obj EINA_UNUSED, Edje *ed EINA_UNUSED, Efl_Gfx *content)
|
||||
{
|
||||
Edje_Real_Part *rp;
|
||||
|
||||
rp = _swallow_real_part_get(content);
|
||||
if (!rp) return NULL;
|
||||
|
||||
return rp->part->name;
|
||||
}
|
||||
|
||||
EOLIAN Eo *
|
||||
_edje_object_efl_part_part(Eo *obj, Edje *ed, const char *part)
|
||||
{
|
||||
|
|
|
@ -4,16 +4,6 @@ interface Efl.Container (Efl.Gfx)
|
|||
eo_prefix: efl_content;
|
||||
event_prefix: efl_container;
|
||||
methods {
|
||||
@property content_part_name {
|
||||
[[The name of the part under which an object is swallowed.]]
|
||||
get {}
|
||||
keys {
|
||||
content: Efl.Gfx; [[Swallowed object]]
|
||||
}
|
||||
values {
|
||||
name: string; [[Part name]]
|
||||
}
|
||||
}
|
||||
@property content {
|
||||
[[Swallowed sub-object contained in this object.]]
|
||||
set {
|
||||
|
|
|
@ -1267,24 +1267,6 @@ _elm_layout_efl_container_content_iterate(Eo *eo_obj EINA_UNUSED, Elm_Layout_Sma
|
|||
return _sub_iterator_create(eo_obj, sd);
|
||||
}
|
||||
|
||||
EOLIAN static const char *
|
||||
_elm_layout_efl_container_content_part_name_get(Eo *eo_obj EINA_UNUSED,
|
||||
Elm_Layout_Smart_Data *sd,
|
||||
Efl_Gfx *content)
|
||||
{
|
||||
Elm_Layout_Sub_Object_Data *sub;
|
||||
Eina_List *l;
|
||||
|
||||
EINA_LIST_FOREACH(sd->subs, l, sub)
|
||||
if (sub->type == SWALLOW)
|
||||
{
|
||||
if (sub->obj == content)
|
||||
return sub->part;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EOLIAN static int
|
||||
_elm_layout_efl_container_content_count(Eo *eo_obj EINA_UNUSED, Elm_Layout_Smart_Data *sd)
|
||||
{
|
||||
|
|
|
@ -348,7 +348,6 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File,
|
|||
Elm.Widget.disable;
|
||||
Elm.Widget.sub_object_del;
|
||||
Elm.Widget.on_focus;
|
||||
Efl.Container.content_part_name { get; }
|
||||
Efl.Container.content_count;
|
||||
Efl.Container.content_remove;
|
||||
Efl.Container.content_iterate;
|
||||
|
|
Loading…
Reference in New Issue