Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ long cellDataProc (long tree_column, long cell, long tree_model, long iter, long
int [] index = new int [1];
C.memmove (index, GTK.gtk_tree_path_get_indices (path), 4);
TableItem item = _getItem (index[0]);
if (item.isDisposed()) {
return 0;
}
GTK.gtk_tree_path_free (path);
if (item != null) OS.g_object_set_qdata (cell, Display.SWT_OBJECT_INDEX2, item.handle);
boolean isPixbuf = GTK.GTK_IS_CELL_RENDERER_PIXBUF (cell);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ static int checkStyle (int style) {
long cellDataProc (long tree_column, long cell, long tree_model, long iter, long data) {
if (cell == ignoreCell) return 0;
TreeItem item = _getItem (iter);
if (item.isDisposed()) {
return 0;
}
if (item != null) OS.g_object_set_qdata (cell, Display.SWT_OBJECT_INDEX2, item.handle);
boolean isPixbuf = GTK.GTK_IS_CELL_RENDERER_PIXBUF (cell);
boolean isText = GTK.GTK_IS_CELL_RENDERER_TEXT (cell);
Expand Down
Loading