aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-22 10:12:44 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-22 10:54:45 +0900
commit43533a2fb9e494f5b31a9917c287d3d2a5a2f5bf (patch)
treef2f0eb1a064eb0de2d2d84ea273afd009b1d8d77 /legacy/elementary/src/lib/elm_win.c
parentelm: Removed unnecessary null check for ecore_idler_del, ecore_idle_enterer_del. (diff)
downloadefl-43533a2fb9e494f5b31a9917c287d3d2a5a2f5bf.tar.gz
elm: Removed unnecessary null check for eina_stringshare_del.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 2e493242b0..993f4cdb6c 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -1494,10 +1494,10 @@ _elm_win_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_elm_win_focus_highlight_shutdown(sd);
eina_stringshare_del(sd->focus_highlight.style);
- if (sd->title) eina_stringshare_del(sd->title);
- if (sd->icon_name) eina_stringshare_del(sd->icon_name);
- if (sd->role) eina_stringshare_del(sd->role);
- if (sd->icon) evas_object_del(sd->icon);
+ eina_stringshare_del(sd->title);
+ eina_stringshare_del(sd->icon_name);
+ eina_stringshare_del(sd->role);
+ evas_object_del(sd->icon);
if (sd->main_menu) evas_object_del(sd->main_menu);