summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
diff options
context:
space:
mode:
authorChristophe Cornu <ccornu>2003-12-10 20:05:00 +0000
committerChristophe Cornu <ccornu>2003-12-10 20:05:00 +0000
commit5ce55e0b266c6dfa30b6d24a0d38a175d0443651 (patch)
tree1bd3090abc5db1ef5da7e1441814a018a8c61a5a /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
parent2fd6873ba6b589bfe796429ee32eb9fd672e966d (diff)
downloadeclipse.platform.swt-5ce55e0b266c6dfa30b6d24a0d38a175d0443651.tar.gz
eclipse.platform.swt-5ce55e0b266c6dfa30b6d24a0d38a175d0443651.tar.xz
eclipse.platform.swt-5ce55e0b266c6dfa30b6d24a0d38a175d0443651.zip
22228
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
index 0111a2cbaf..b274ac846c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
@@ -519,7 +519,7 @@ void setImages (Image image, Image [] images) {
OS.g_object_unref (data [0]);
temp = OS.g_list_next (temp);
}
- OS.g_list_free (pixbufs);
+ if (pixbufs != 0) OS.g_list_free (pixbufs);
}
/**