From 826f6666ed98a13da8c7069ce6fbfd7758e14a7f Mon Sep 17 00:00:00 2001 From: hermet Date: Mon, 9 Jan 2012 06:59:33 +0000 Subject: [PATCH] elementary/widget Re: [E-devel] [Patch] elc_ctxpopup, using elm_smart_scroller_freeze_set() not elm_object_scroll_freeze_push(), pop() Signed-Off-By: Kim Shinwoo git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66985 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index afe119e..9439e88 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -2237,10 +2237,10 @@ elm_widget_scroll_freeze_pop(Evas_Object *obj) { API_ENTRY return; sd->scroll_freeze--; - if (sd->scroll_freeze < 0) sd->scroll_freeze = 0; if (!sd->scroll_freeze) evas_object_smart_callback_call(obj, "scroll-freeze-off", obj); if (sd->parent_obj) elm_widget_scroll_freeze_pop(sd->parent_obj); + if (sd->scroll_freeze < 0) sd->scroll_freeze = 0; } EAPI int -- 2.7.4