column.handle = 0;
column.handle = column.buttonHandle = column.labelHandle = 0; column.boxHandle = column.imageHandle = 0;
void destroyItem (TableColumn column) {	int index = 0;	while (index < columnCount) {		if (columns [index] == column) break;		index++;	}	if (index == columnCount) return;	int columnHandle = column.handle;	System.arraycopy (columns, index + 1, columns, index, --columnCount - index);	columns [columnCount] = null;	OS.gtk_tree_view_remove_column (handle, columnHandle);	if (columnCount == 0) {		int oldModel = modelHandle;		int[] types = getColumnTypes (1);		int newModel = OS.gtk_list_store_newv (types.length, types);		if (newModel == 0) error (SWT.ERROR_NO_HANDLES);		int [] ptr = new int [1];		for (int i=0; i<itemCount; i++) {			TableItem item = items [i];			int oldItem = item.handle;			int newItem = OS.g_malloc (OS.GtkTreeIter_sizeof ());			if (newItem == 0) error (SWT.ERROR_NO_HANDLES);			OS.gtk_list_store_insert (newModel, newItem, i);			for (int j=0; j<FIRST_COLUMN; j++) {				OS.gtk_tree_model_get (oldModel, oldItem, j, ptr, -1);				OS.gtk_list_store_set (newModel, newItem, j, ptr [0], -1);			}			OS.gtk_tree_model_get (oldModel, oldItem, column.modelIndex, ptr, -1);			OS.gtk_list_store_set (newModel, newItem, FIRST_COLUMN, ptr [0], -1);			OS.gtk_tree_model_get (oldModel, oldItem, column.modelIndex + 1, ptr, -1);			OS.gtk_list_store_set (newModel, newItem, FIRST_COLUMN + 1, ptr [0], -1);			OS.g_free ( (ptr [0]));			OS.gtk_list_store_remove (oldModel, oldItem);			OS.g_free (oldItem);			item.handle = newItem;		}		OS.gtk_tree_view_set_model (handle, newModel);		OS.g_object_unref (oldModel);		modelHandle = newModel;		createColumn (null, 0);	} else {		for (int i=0; i<itemCount; i++) {			int item = items [i].handle;			int modelIndex = column.modelIndex;			OS.gtk_list_store_set (modelHandle, item, modelIndex, 0, -1);			OS.gtk_list_store_set (modelHandle, item, modelIndex + 1, 0, -1);		}		if (index == 0) {			TableColumn checkColumn = columns [0];			createRenderers (checkColumn.handle, checkColumn.modelIndex, true, checkColumn.style);		}	}	column.handle = 0;}