Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_embed.c Log Message: NULL is a valid value; can anyone confirm this, please =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v retrieving revision 1.128 retrieving revision 1.129 diff -u -3 -r1.128 -r1.129 --- ewl_embed.c 6 Sep 2007 16:58:07 -0000 1.128 +++ ewl_embed.c 2 Oct 2007 10:04:24 -0000 1.129 @@ -1519,7 +1519,8 @@ /** * @param embed: The embed to set the focused widget too - * @param w: The widget to set as having focus + * @param w: The widget to set as having focus, NULL is valid value and + * signifies that no widget has the focus. * @return Returns no value. * @brief Set the current focused widget in the embed */ @@ -1528,9 +1529,7 @@ { DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR("embed", embed); - DCHECK_PARAM_PTR("w", w); DCHECK_TYPE("embed", embed, EWL_EMBED_TYPE); - DCHECK_TYPE("w", w, EWL_WIDGET_TYPE); if (embed->last.focused && (embed->last.focused != w)) ewl_callback_call(embed->last.focused, EWL_CALLBACK_FOCUS_OUT); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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