Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_attach.c ewl_popup.c ewl_scrollbar.c ewl_seeker.c ewl_spinner.c Log Message: use ecore callback aliases =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_attach.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -3 -r1.52 -r1.53 --- ewl_attach.c 12 Nov 2007 22:42:21 -0000 1.52 +++ ewl_attach.c 11 Mar 2008 21:36:38 -0000 1.53 @@ -689,7 +689,7 @@ Ewl_Embed *emb; DENTER_FUNCTION(DLEVEL_STABLE); - DCHECK_PARAM_PTR_RET(data, FALSE); + DCHECK_PARAM_PTR_RET(data, ECORE_CALLBACK_CANCEL); /* we are returning false so that will shutdown the timer, just need * to make sure we don't try to del it a second time so set it NULL */ @@ -698,7 +698,7 @@ w = data; emb = ewl_embed_widget_find(w); if (!emb) - DRETURN_INT(FALSE, DLEVEL_STABLE); + DRETURN_INT(ECORE_CALLBACK_CANCEL, DLEVEL_STABLE); if (!(ewl_attach_tooltip->win)) { @@ -775,7 +775,7 @@ ewl_attach_tooltip->x, ewl_attach_tooltip->y); - DRETURN_INT(FALSE, DLEVEL_STABLE); + DRETURN_INT(ECORE_CALLBACK_CANCEL, DLEVEL_STABLE); } static void =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_popup.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ewl_popup.c 5 Dec 2007 16:44:53 -0000 1.20 +++ ewl_popup.c 11 Mar 2008 21:36:38 -0000 1.21 @@ -339,8 +339,8 @@ int ex, ey, mx, my; DENTER_FUNCTION(DLEVEL_STABLE); - DCHECK_PARAM_PTR_RET(data, FALSE); - DCHECK_TYPE_RET(data, EWL_POPUP_TYPE, FALSE); + DCHECK_PARAM_PTR_RET(data, ECORE_CALLBACK_CANCEL); + DCHECK_TYPE_RET(data, EWL_POPUP_TYPE, ECORE_CALLBACK_CANCEL); p = EWL_POPUP(data); @@ -358,7 +358,7 @@ ewl_embed_window_position_get(EWL_EMBED(p), &ex, &ey); ewl_embed_mouse_move_feed(EWL_EMBED(p), mx - ex, my - ey, 0); - DRETURN_INT(TRUE, DLEVEL_STABLE); + DRETURN_INT(ECORE_CALLBACK_RENEW, DLEVEL_STABLE); } /** =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_scrollbar.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- ewl_scrollbar.c 9 Dec 2007 01:00:40 -0000 1.22 +++ ewl_scrollbar.c 11 Mar 2008 21:36:38 -0000 1.23 @@ -546,7 +546,7 @@ int velocity; DENTER_FUNCTION(DLEVEL_STABLE); - DCHECK_PARAM_PTR_RET(data, FALSE); + DCHECK_PARAM_PTR_RET(data, ECORE_CALLBACK_CANCEL); s = EWL_SCROLLBAR(data); @@ -572,5 +572,5 @@ ewl_range_value_set(EWL_RANGE(s->seeker), value); - DRETURN_INT(TRUE, DLEVEL_STABLE); + DRETURN_INT(ECORE_CALLBACK_RENEW, DLEVEL_STABLE); } =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_seeker.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- ewl_seeker.c 24 Jan 2008 00:51:22 -0000 1.29 +++ ewl_seeker.c 11 Mar 2008 21:36:38 -0000 1.30 @@ -707,8 +707,8 @@ double value, posval, step; DENTER_FUNCTION(DLEVEL_STABLE); - DCHECK_PARAM_PTR_RET(data, FALSE); - DCHECK_TYPE_RET(data, EWL_SEEKER_TYPE, FALSE); + DCHECK_PARAM_PTR_RET(data, ECORE_CALLBACK_CANCEL); + DCHECK_TYPE_RET(data, EWL_SEEKER_TYPE, ECORE_CALLBACK_CANCEL); s = EWL_SEEKER(data); value = ewl_range_value_get(EWL_RANGE(s)); @@ -742,6 +742,6 @@ ewl_range_value_set(EWL_RANGE(s), value); - DRETURN_INT(TRUE, DLEVEL_STABLE); + DRETURN_INT(ECORE_CALLBACK_RENEW, DLEVEL_STABLE); } =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_spinner.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -3 -r1.34 -r1.35 --- ewl_spinner.c 24 Jan 2008 00:51:22 -0000 1.34 +++ ewl_spinner.c 11 Mar 2008 21:36:38 -0000 1.35 @@ -550,7 +550,7 @@ int velocity; DENTER_FUNCTION(DLEVEL_STABLE); - DCHECK_PARAM_PTR_RET(data, FALSE); + DCHECK_PARAM_PTR_RET(data, ECORE_CALLBACK_CANCEL); s = EWL_SPINNER(data); r = EWL_RANGE(s); @@ -584,7 +584,7 @@ ewl_range_value_set(r, r->value + step); s->last_value += step; - DRETURN_INT(TRUE, DLEVEL_STABLE); + DRETURN_INT(ECORE_CALLBACK_RENEW, DLEVEL_STABLE); } static void ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs