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