forked from enlightenment/efl
parent
30cc66d90d
commit
b76a658b9d
|
@ -678,11 +678,12 @@ static Evas_Object *
|
||||||
_elm_ctxpopup_smart_content_get(const Evas_Object *obj,
|
_elm_ctxpopup_smart_content_get(const Evas_Object *obj,
|
||||||
const char *part)
|
const char *part)
|
||||||
{
|
{
|
||||||
if ((part) && (strcmp(part, "default"))) return NULL;
|
|
||||||
return ELM_CONTAINER_CLASS(_elm_ctxpopup_parent_sc)->content_get(obj, part);
|
|
||||||
|
|
||||||
ELM_CTXPOPUP_DATA_GET(obj, sd);
|
ELM_CTXPOPUP_DATA_GET(obj, sd);
|
||||||
|
|
||||||
|
if ((part) && (strcmp(part, "default")))
|
||||||
|
return ELM_CONTAINER_CLASS(_elm_ctxpopup_parent_sc)->content_get
|
||||||
|
(obj, part);
|
||||||
|
|
||||||
return sd->content;
|
return sd->content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -692,12 +693,12 @@ _elm_ctxpopup_smart_content_unset(Evas_Object *obj,
|
||||||
{
|
{
|
||||||
Evas_Object *content;
|
Evas_Object *content;
|
||||||
|
|
||||||
if ((part) && (strcmp(part, "default"))) return NULL;
|
|
||||||
return ELM_CONTAINER_CLASS(_elm_ctxpopup_parent_sc)->content_unset
|
|
||||||
(obj, part);
|
|
||||||
|
|
||||||
ELM_CTXPOPUP_DATA_GET(obj, sd);
|
ELM_CTXPOPUP_DATA_GET(obj, sd);
|
||||||
|
|
||||||
|
if ((part) && (strcmp(part, "default")))
|
||||||
|
return ELM_CONTAINER_CLASS(_elm_ctxpopup_parent_sc)->content_unset
|
||||||
|
(obj, part);
|
||||||
|
|
||||||
content = sd->content;
|
content = sd->content;
|
||||||
if (!content) return NULL;
|
if (!content) return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue