forked from enlightenment/efl
elementary/panes - the return value is reverted.
SVN revision: 65472
This commit is contained in:
parent
a138bd0a3e
commit
af42bdf2fd
|
@ -290,10 +290,10 @@ _content_get_hook(const Evas_Object *obj, const char *part)
|
|||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return NULL;
|
||||
if (part && (!strncmp(part, "elm.swallow.", 12))) part += 12;
|
||||
if (!part || !strcmp(part, "left"))
|
||||
return wd->contents.left;
|
||||
else if (!strcmp(part, "right"))
|
||||
if (!part || !strcmp(part, "right"))
|
||||
return wd->contents.right;
|
||||
else if (!strcmp(part, "left"))
|
||||
return wd->contents.left;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue