aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-08-07 15:29:49 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-08-07 15:29:49 +0900
commit30a3a152b1789e96206e984621752cfe890709bd (patch)
tree1407dae441eec6d6f88b47a94a003167334a8182 /legacy/elementary/src/lib/elm_win.c
parentmultibuttonentry/spinner: Fix memory leak when eina_strbuf_string_steal is mi... (diff)
downloadefl-30a3a152b1789e96206e984621752cfe890709bd.tar.gz
win: code refactoring.
simplify code.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index f27d425cff..80d99d61ed 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -435,23 +435,13 @@ _elm_win_state_eval(void *data EINA_UNUSED)
evas_render_dump(evas);
}
}
- }
- else
- {
- if (evas_object_data_get(obj, "__win_auto_norender"))
- {
- elm_win_norender_pop(obj);
- evas_object_data_del(obj, "__win_auto_norender");
- }
+ continue;
}
}
- else
+ if (evas_object_data_get(obj, "__win_auto_norender"))
{
- if (evas_object_data_get(obj, "__win_auto_norender"))
- {
- elm_win_norender_pop(obj);
- evas_object_data_del(obj, "__win_auto_norender");
- }
+ elm_win_norender_pop(obj);
+ evas_object_data_del(obj, "__win_auto_norender");
}
}
if (((_elm_config->auto_throttle) &&