summaryrefslogtreecommitdiff
path: root/src/lib/elm_win_standard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_win_standard.c')
-rw-r--r--src/lib/elm_win_standard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_win_standard.c b/src/lib/elm_win_standard.c
index de0da52f0..c54e3b052 100644
--- a/src/lib/elm_win_standard.c
+++ b/src/lib/elm_win_standard.c
@@ -19,8 +19,7 @@ _elm_win_standard_eo_base_finalize(Eo *obj, void *pd EINA_UNUSED)
if (!obj)
return NULL;
- Evas_Object *bg = NULL;
- eo_add(&bg, ELM_BG_CLASS, obj);
+ Evas_Object *bg = eo_add(ELM_BG_CLASS, obj);
if (!bg)
{
ERR("Cannot create background.");