Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2004-01-27 15:46:46 -0500
committerFelipe Heidrich2004-01-27 15:46:46 -0500
commitd3be55c0397f0f302145b55a1f35770295196855 (patch)
tree55395c1a9fa55a0376dcb1c495b2366d0a816ad3
parentac16cf9ce1c3aa20de89eb2fb8152487e9b70ce3 (diff)
downloadeclipse.platform.swt-d3be55c0397f0f302145b55a1f35770295196855.tar.gz
eclipse.platform.swt-d3be55c0397f0f302145b55a1f35770295196855.tar.xz
eclipse.platform.swt-d3be55c0397f0f302145b55a1f35770295196855.zip
backport 39443
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
index adac78455d..e18dab3447 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
@@ -752,12 +752,12 @@ void releaseWidget () {
*/
public void removeAll () {
checkWidget ();
- OS.gtk_tree_store_clear (modelHandle);
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item != null && !item.isDisposed ()) item.releaseResources ();
}
items = new TreeItem[4];
+ OS.gtk_tree_store_clear (modelHandle);
}
/**

Back to the top