bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=23678b3695c4e0976afb3949dff19c85878e213b

commit 23678b3695c4e0976afb3949dff19c85878e213b
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Jan 30 11:39:52 2020 -0500

    efl/win: change a couple config init sets for gesture manager to use legacy 
config
    
    these values are deprecated, so stop setting them in efl_config
    
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D11249
---
 src/lib/elementary/efl_ui_win.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 2430b50638..a926bdcd33 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5157,11 +5157,8 @@ _gesture_manager_config_load(Eo *obj)
    eina_value_set(&val, _elm_config->glayer_double_tap_timeout);
    efl_gesture_manager_config_set(gm, "glayer_double_tap_timeout", &val);
 
-   eina_value_set(&val, _elm_config->thumbscroll_friction);
-   efl_gesture_manager_config_set(gm, "thumbscroll_friction", &val);
-
-   eina_value_set(&val, _elm_config->thumbscroll_momentum_threshold);
-   efl_gesture_manager_config_set(gm, "thumbscroll_momentum_threshold", &val);
+   
elm_config_scroll_thumbscroll_friction_set(_elm_config->thumbscroll_friction);
+   
elm_config_scroll_thumbscroll_momentum_threshold_set(_elm_config->thumbscroll_momentum_threshold);
 
    eina_value_set(&val, _elm_config->glayer_line_min_length);
    efl_gesture_manager_config_set(gm, "glayer_line_min_length", &val);

-- 


Reply via email to