Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Maccaferri2019-03-24 10:30:05 -0400
committerMarco Maccaferri2019-03-25 09:43:32 -0400
commit3c1f0cb92345c3b1be5b870447fff4ccc52859f0 (patch)
tree4e4ac2b29b48d2fb5245d532aa676796e8176900
parentbf870e8ff7e54069e96e5c9a74dc84d49a444484 (diff)
downloadeclipse.platform.swt-3c1f0cb92345c3b1be5b870447fff4ccc52859f0.tar.gz
eclipse.platform.swt-3c1f0cb92345c3b1be5b870447fff4ccc52859f0.tar.xz
eclipse.platform.swt-3c1f0cb92345c3b1be5b870447fff4ccc52859f0.zip
Bug 544498 - Call GTK.gtk_widget_get_window() directly to avoid StackOverflowError
Change-Id: Iaf4fd9283e67f36ea7ea15c3969f883a796fe2da Signed-off-by: Marco Maccaferri <macca@maccasoft.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
index 8ae4bbbdb5..f6e8205c30 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -5115,7 +5115,7 @@ public void setBackgroundImage (Image image) {
}
void setBackgroundSurface (Image image) {
- long /*int*/ window = gtk_widget_get_window (paintHandle ());
+ long /*int*/ window = GTK.gtk_widget_get_window (paintHandle ());
if (GTK.GTK_VERSION >= OS.VERSION(3, 22, 0)) {
// gdk_window_set_background_pattern() deprecated in GTK3.22+
return;

Back to the top