Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_stock.c Log Message: fix warnings =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_stock.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_stock.c 30 Nov 2006 19:35:46 -0000 1.1 +++ ewl_stock.c 1 Dec 2006 18:27:54 -0000 1.2 @@ -30,12 +30,21 @@ {"Stop", EWL_ICON_MEDIA_PLAYBACK_STOP} }; +/** + * @param s: the stock widget to initialize + * @return Returns TRUE on success, FALSE on failure. + * @brief Initialize the stock widget and inherited fields + * + * Clears the contents of the stock widget and stores the + * default values. + */ +int ewl_stock_init(Ewl_Stock *s) { Ewl_Widget *w; DENTER_FUNCTION(DLEVEL_STABLE); - DCHECK_PARAM_PTR_RET("s", s, NULL); + DCHECK_PARAM_PTR_RET("s", s, FALSE); w = EWL_WIDGET(s); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs