elementary/panes - the return value is reverted.

SVN revision: 65472
This commit is contained in:
ChunEon Park 2011-11-21 06:44:40 +00:00
parent a138bd0a3e
commit af42bdf2fd
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}