# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1335542552 0 # Node ID e19b93a8229b4ce241db1c369695100070fec927 # Parent 896f377a47c71d086907dae7d58415541175d0c1 More comment cleanups. diff -r 896f377a47c7 -r e19b93a8229b gtk/dw.c --- a/gtk/dw.c Fri Apr 27 15:49:16 2012 +0000 +++ b/gtk/dw.c Fri Apr 27 16:02:32 2012 +0000 @@ -10348,7 +10348,7 @@ /* * Remove windows (widgets) from the box they are packed into. * Parameters: - * handle: Window handle of the item to be back. + * handle: Window handle of the packed item to be removed. * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ @@ -10416,7 +10416,7 @@ * box: Window handle of the box to be removed from. * index: 0 based index of packed items. * Returns: - * Handle to the removed item on success, 0 on failure. + * Handle to the removed item on success, 0 on failure or padding. */ HWND API dw_box_remove_at_index(HWND box, int index) { diff -r 896f377a47c7 -r e19b93a8229b gtk3/dw.c --- a/gtk3/dw.c Fri Apr 27 15:49:16 2012 +0000 +++ b/gtk3/dw.c Fri Apr 27 16:02:32 2012 +0000 @@ -8648,7 +8648,7 @@ /* * Remove windows (widgets) from the box they are packed into. * Parameters: - * handle: Window handle of the item to be back. + * handle: Window handle of the packed item to be removed. * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ @@ -8699,7 +8699,7 @@ * box: Window handle of the box to be removed from. * index: 0 based index of packed items. * Returns: - * Handle to the removed item on success, 0 on failure. + * Handle to the removed item on success, 0 on failure or padding. */ HWND API dw_box_remove_at_index(HWND box, int index) { diff -r 896f377a47c7 -r e19b93a8229b mac/dw.m --- a/mac/dw.m Fri Apr 27 15:49:16 2012 +0000 +++ b/mac/dw.m Fri Apr 27 16:02:32 2012 +0000 @@ -3904,7 +3904,7 @@ /* * Remove windows (widgets) from the box they are packed into. * Parameters: - * handle: Window handle of the item to be back. + * handle: Window handle of the packed item to be removed. * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ @@ -3982,7 +3982,7 @@ * box: Window handle of the box to be removed from. * index: 0 based index of packed items. * Returns: - * Handle to the removed item on success, 0 on failure. + * Handle to the removed item on success, 0 on failure or padding. */ HWND API dw_box_remove_at_index(HWND box, int index) { diff -r 896f377a47c7 -r e19b93a8229b os2/dw.c --- a/os2/dw.c Fri Apr 27 15:49:16 2012 +0000 +++ b/os2/dw.c Fri Apr 27 16:02:32 2012 +0000 @@ -7199,7 +7199,7 @@ /* * Remove windows (widgets) from the box they are packed into. * Parameters: - * handle: Window handle of the item to be back. + * handle: Window handle of the packed item to be removed. * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ @@ -7260,7 +7260,7 @@ * box: Window handle of the box to be removed from. * index: 0 based index of packed items. * Returns: - * Handle to the removed item on success, 0 on failure. + * Handle to the removed item on success, 0 on failure or padding. */ HWND API dw_box_remove_at_index(HWND box, int index) { diff -r 896f377a47c7 -r e19b93a8229b template/dw.c --- a/template/dw.c Fri Apr 27 15:49:16 2012 +0000 +++ b/template/dw.c Fri Apr 27 16:02:32 2012 +0000 @@ -598,7 +598,7 @@ /* * Remove windows (widgets) from the box they are packed into. * Parameters: - * handle: Window handle of the item to be back. + * handle: Window handle of the packed item to be removed. * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ @@ -613,7 +613,7 @@ * box: Window handle of the box to be removed from. * index: 0 based index of packed items. * Returns: - * Handle to the removed item on success, 0 on failure. + * Handle to the removed item on success, 0 on failure or padding. */ HWND API dw_box_remove_at_index(HWND box, int index) { @@ -624,7 +624,7 @@ * Pack windows (widgets) into a box at an arbitrary location. * Parameters: * box: Window handle of the box to be packed into. - * item: Window handle of the item to be back. + * item: Window handle of the item to pack. * index: 0 based index of packed items. * width: Width in pixels of the item or -1 to be self determined. * height: Height in pixels of the item or -1 to be self determined. @@ -641,7 +641,7 @@ * Pack windows (widgets) into a box from the start (or top). * Parameters: * box: Window handle of the box to be packed into. - * item: Window handle of the item to be back. + * item: Window handle of the item to pack. * width: Width in pixels of the item or -1 to be self determined. * height: Height in pixels of the item or -1 to be self determined. * hsize: TRUE if the window (widget) should expand horizontally to fill space given. @@ -660,7 +660,7 @@ * Pack windows (widgets) into a box from the end (or bottom). * Parameters: * box: Window handle of the box to be packed into. - * item: Window handle of the item to be back. + * item: Window handle of the item to pack. * width: Width in pixels of the item or -1 to be self determined. * height: Height in pixels of the item or -1 to be self determined. * hsize: TRUE if the window (widget) should expand horizontally to fill space given. diff -r 896f377a47c7 -r e19b93a8229b win/dw.c --- a/win/dw.c Fri Apr 27 15:49:16 2012 +0000 +++ b/win/dw.c Fri Apr 27 16:02:32 2012 +0000 @@ -6975,7 +6975,7 @@ /* * Remove windows (widgets) from the box they are packed into. * Parameters: - * handle: Window handle of the item to be back. + * handle: Window handle of the packed item to be removed. * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ @@ -7034,7 +7034,7 @@ * box: Window handle of the box to be removed from. * index: 0 based index of packed items. * Returns: - * Handle to the removed item on success, 0 on failure. + * Handle to the removed item on success, 0 on failure or padding. */ HWND API dw_box_remove_at_index(HWND box, int index) {