comparison gtk3/dw.c @ 1769:d81bebc5c8cc

Mark and I decided to change dw_box_remove*() to dw_box_unpack*() for consistency. This commit should change all exports and references appropriately.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 06 Jul 2012 10:51:28 +0000
parents f297d8a63aed
children c5ea64e8b436
comparison
equal deleted inserted replaced
1768:227e13044ce3 1769:d81bebc5c8cc
8685 * Parameters: 8685 * Parameters:
8686 * handle: Window handle of the packed item to be removed. 8686 * handle: Window handle of the packed item to be removed.
8687 * Returns: 8687 * Returns:
8688 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. 8688 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure.
8689 */ 8689 */
8690 int API dw_box_remove(HWND handle) 8690 int API dw_box_unpack(HWND handle)
8691 { 8691 {
8692 int _locked_by_me = FALSE, retcode = DW_ERROR_GENERAL; 8692 int _locked_by_me = FALSE, retcode = DW_ERROR_GENERAL;
8693 8693
8694 DW_MUTEX_LOCK; 8694 DW_MUTEX_LOCK;
8695 if(GTK_IS_WIDGET(handle)) 8695 if(GTK_IS_WIDGET(handle))
8734 * box: Window handle of the box to be removed from. 8734 * box: Window handle of the box to be removed from.
8735 * index: 0 based index of packed items. 8735 * index: 0 based index of packed items.
8736 * Returns: 8736 * Returns:
8737 * Handle to the removed item on success, 0 on failure or padding. 8737 * Handle to the removed item on success, 0 on failure or padding.
8738 */ 8738 */
8739 HWND API dw_box_remove_at_index(HWND box, int index) 8739 HWND API dw_box_unpack_at_index(HWND box, int index)
8740 { 8740 {
8741 int _locked_by_me = FALSE; 8741 int _locked_by_me = FALSE;
8742 HWND retval = 0; 8742 HWND retval = 0;
8743 8743
8744 DW_MUTEX_LOCK; 8744 DW_MUTEX_LOCK;