diff options
Diffstat (limited to 'src/lib/elm_notify.c')
-rw-r--r-- | src/lib/elm_notify.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index 59860d7c3..4a2242572 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -464,8 +464,7 @@ EAPI Evas_Object * elm_notify_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; } |