summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-11-10 15:15:57 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-11-11 20:21:56 +0100
commit1ff0d6462bf26864b43fac37c494e7c6ed513486 (patch)
tree87a7dc4d124732a98d6bc713c9c822ed1d843523 /src
parent9f382b33716f31f4f0587ad5b65351ad6b4781d2 (diff)
elm_widget: add a new api for directly reevalulating widgets
usefull if the provider changes
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_priv.h3
-rw-r--r--src/lib/elementary/elm_widget.c8
2 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_priv.h b/src/lib/elementary/elm_priv.h
index 6097f0e0e1..c5a631f4d9 100644
--- a/src/lib/elementary/elm_priv.h
+++ b/src/lib/elementary/elm_priv.h
@@ -706,6 +706,9 @@ void *_elm_icon_signal_callback_del(Evas_Object *obj,
706 void _efl_ui_image_sizing_eval(Evas_Object *obj); 706 void _efl_ui_image_sizing_eval(Evas_Object *obj);
707/* end of DEPRECATED */ 707/* end of DEPRECATED */
708 708
709/* DO NOT USE THIS this is only for performance optimization! */
710void _elm_widget_full_eval(Eo *obj);
711
709Eina_Bool _elm_config_accel_preference_parse(const char *pref, Eina_Stringshare **accel, int *gl_depth, int *gl_stencil, int *gl_msaa); 712Eina_Bool _elm_config_accel_preference_parse(const char *pref, Eina_Stringshare **accel, int *gl_depth, int *gl_stencil, int *gl_msaa);
710 713
711extern char *_elm_appname; 714extern char *_elm_appname;
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index cf0e8fd84e..c38c20228d 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -577,6 +577,14 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
577 577
578} 578}
579 579
580void
581_elm_widget_full_eval(Eo *obj)
582{
583 ELM_WIDGET_DATA_GET(obj, pd);
584
585 _full_eval(obj, pd);
586}
587
580/** 588/**
581 * @internal 589 * @internal
582 * 590 *