summaryrefslogtreecommitdiff
path: root/src/lib/elm_panes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_panes.c')
-rw-r--r--src/lib/elm_panes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_panes.c b/src/lib/elm_panes.c
index 197a666c5..2e249e067 100644
--- a/src/lib/elm_panes.c
+++ b/src/lib/elm_panes.c
@@ -321,8 +321,7 @@ EAPI Evas_Object *
elm_panes_add(Evas_Object *parent)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
- Evas_Object *obj = NULL;
- eo_add(&obj, MY_CLASS, parent);
+ Evas_Object *obj = eo_add(MY_CLASS, parent);
return obj;
}