elementary/panes - the return value is reverted.
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 21 Nov 2011 06:44:40 +0000 (06:44 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 21 Nov 2011 06:44:40 +0000 (06:44 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@65472 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_panes.c

index b5a62fc..9eba317 100644 (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;
 }