Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 94549
Collapse All | Expand All

(-)TableItem.java (+4 lines)
Lines 235-243 Link Here
235
	if (column == 0) return new Rectangle (0, 0, 0, 0);
235
	if (column == 0) return new Rectangle (0, 0, 0, 0);
236
	int /*long*/ path = OS.gtk_tree_model_get_path (parent.modelHandle, handle);
236
	int /*long*/ path = OS.gtk_tree_model_get_path (parent.modelHandle, handle);
237
	OS.gtk_widget_realize (parentHandle);
237
	OS.gtk_widget_realize (parentHandle);
238
	OS.gtk_tree_view_column_cell_set_cell_data (column, parent.modelHandle, handle, false, false);
238
	GdkRectangle rect = new GdkRectangle ();
239
	GdkRectangle rect = new GdkRectangle ();
239
	OS.gtk_tree_view_get_cell_area (parentHandle, path, column, rect);
240
	OS.gtk_tree_view_get_cell_area (parentHandle, path, column, rect);
240
	OS.gtk_tree_path_free (path);
241
	OS.gtk_tree_path_free (path);
242
	int [] cw = new int [1], ch = new int [1];
243
	OS.gtk_tree_view_column_cell_get_size (column, null, null, null, cw, ch);
244
	rect.height = ch [0];
241
	
245
	
242
	if (index == 0 && (parent.style & SWT.CHECK) != 0) {
246
	if (index == 0 && (parent.style & SWT.CHECK) != 0) {
243
		if (OS.GTK_VERSION >= OS.VERSION (2, 1, 3)) {
247
		if (OS.GTK_VERSION >= OS.VERSION (2, 1, 3)) {

Return to bug 94549