ignoreSelect = false;
public void remove (int index) {	checkWidget();	if (!(0 <= index && index < items.length)) {		error (SWT.ERROR_INVALID_RANGE);	}	String [] oldItems = items;	String [] newItems = new String [oldItems.length - 1];	System.arraycopy (oldItems, 0, newItems, 0, index);	System.arraycopy (oldItems, index + 1, newItems, index, oldItems.length - index - 1);	items = newItems;	ignoreSelect = true;	int /*long*/ children = OS.gtk_container_get_children (listHandle);	int /*long*/ item = OS.g_list_nth_data (children, index);	boolean selected = OS.GTK_WIDGET_STATE (item) == OS.GTK_STATE_SELECTED;	int /*long*/ items = OS.g_list_append (0, item);	OS.gtk_list_remove_items (listHandle, items);	OS.g_list_free (items);	OS.g_list_free (children);	if (selected) {		OS.gtk_entry_set_text (entryHandle, new byte[1]);	}	ignoreSelect = false;}