summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-26 17:03:28 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-26 18:00:31 +0200
commita21dacbad6c6fef31df5f1bd3655d511902af9d2 (patch)
tree1b9dfb035e8f6a8551a57236d9009f373564fe1f /src/lib/elementary
parent79aa86df5a1c1abb022862e3e61745fea598fc94 (diff)
efl_ui/layout: use better check for determining whether to defer signals
Summary: a layout (not layout_base) should not defer signals. theme groups loaded by a layout widget can be anything, and are not subject to the versioning requirements that efl widgets have Depends on D10055 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10192
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 98f76e1..6d58277 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -264,7 +264,7 @@ _signals_emit(Efl_Ui_Layout_Data *sd,
264 use = buf2; 264 use = buf2;
265 snprintf(buf, sizeof(buf), "efl,state,%s,%s", type, set ? "set" : "unset"); 265 snprintf(buf, sizeof(buf), "efl,state,%s,%s", type, set ? "set" : "unset");
266 snprintf(buf2, sizeof(buf2), "efl,%s,%s", type, set ? "set" : "unset"); 266 snprintf(buf2, sizeof(buf2), "efl,%s,%s", type, set ? "set" : "unset");
267 if (efl_finalized_get(sd->obj)) 267 if (efl_isa(sd->obj, EFL_UI_LAYOUT_CLASS) || efl_finalized_get(sd->obj))
268 efl_layout_signal_emit(sd->obj, use, "efl"); 268 efl_layout_signal_emit(sd->obj, use, "efl");
269 else 269 else
270 _defer_version_signal(sd, eina_stringshare_add(buf), eina_stringshare_add(buf2), 123); 270 _defer_version_signal(sd, eina_stringshare_add(buf), eina_stringshare_add(buf2), 123);