comparison gtk/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
10388 * Parameters: 10388 * Parameters:
10389 * handle: Window handle of the packed item to be removed. 10389 * handle: Window handle of the packed item to be removed.
10390 * Returns: 10390 * Returns:
10391 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. 10391 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure.
10392 */ 10392 */
10393 int API dw_box_remove(HWND handle) 10393 int API dw_box_unpack(HWND handle)
10394 { 10394 {
10395 int _locked_by_me = FALSE, retcode = DW_ERROR_GENERAL; 10395 int _locked_by_me = FALSE, retcode = DW_ERROR_GENERAL;
10396 10396
10397 DW_MUTEX_LOCK; 10397 DW_MUTEX_LOCK;
10398 if(GTK_IS_WIDGET(handle)) 10398 if(GTK_IS_WIDGET(handle))
10454 * box: Window handle of the box to be removed from. 10454 * box: Window handle of the box to be removed from.
10455 * index: 0 based index of packed items. 10455 * index: 0 based index of packed items.
10456 * Returns: 10456 * Returns:
10457 * Handle to the removed item on success, 0 on failure or padding. 10457 * Handle to the removed item on success, 0 on failure or padding.
10458 */ 10458 */
10459 HWND API dw_box_remove_at_index(HWND box, int index) 10459 HWND API dw_box_unpack_at_index(HWND box, int index)
10460 { 10460 {
10461 HWND retval = 0; 10461 HWND retval = 0;
10462 int _locked_by_me = FALSE; 10462 int _locked_by_me = FALSE;
10463 10463
10464 DW_MUTEX_LOCK; 10464 DW_MUTEX_LOCK;