From 5f0c217ae677d7389c2fe56eab0e60d142bb17c8 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Thu, 28 Jul 2022 17:38:09 +0800 Subject: [PATCH] fix warnings --- src/ext_widgets/slide_view/slide_view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext_widgets/slide_view/slide_view.c b/src/ext_widgets/slide_view/slide_view.c index fbc669bf9..10db03dff 100644 --- a/src/ext_widgets/slide_view/slide_view.c +++ b/src/ext_widgets/slide_view/slide_view.c @@ -454,7 +454,7 @@ static ret_t slide_view_set_prop(widget_t* widget, const char* name, const value widget_invalidate(widget, NULL); return RET_OK; } else if (tk_str_eq(name, WIDGET_PROP_DRAG_THRESHOLD)) { - slide_view_set_darg_threshold(slide_view, value_uint32(v)); + slide_view_set_darg_threshold(widget, value_uint32(v)); return RET_OK; }