summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2016-03-15 13:12:04 +0200
committerDaniel Hirt <daniel.hirt@samsung.com>2016-03-15 13:14:11 +0200
commit77bb8bd04a32b4bbb66e89a8dda25207f61b95d8 (patch)
tree7edaa2af760d5bd21cca94dc2c3bc23c9399d676
parent760be89f2183dfeb0a339acc57529e1012e1a7e0 (diff)
Entry: skip calc job creation if there is already one
I mean, that's the whole point of jobs, right? :)
-rw-r--r--src/lib/elm_entry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index bc3e2e929..6bb2df166 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -1090,9 +1090,8 @@ _elm_entry_elm_layout_sizing_eval(Eo *obj, Elm_Entry_Data *sd)
1090 else 1090 else
1091 evas_object_size_hint_max_set(obj, -1, -1); 1091 evas_object_size_hint_max_set(obj, -1, -1);
1092 } 1092 }
1093 else 1093 else if (!sd->deferred_recalc_job)
1094 { 1094 {
1095 ecore_job_del(sd->deferred_recalc_job);
1096 sd->deferred_recalc_job = 1095 sd->deferred_recalc_job =
1097 ecore_job_add(_deferred_recalc_job, obj); 1096 ecore_job_add(_deferred_recalc_job, obj);
1098 } 1097 }