Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-11-24 03:17:33 -0500
committerAlexander Kurtakov2018-11-24 03:17:33 -0500
commit53f7bd6ab72219e2ba6d437c3e118870e205bbe0 (patch)
tree6942abe6ca6079a60a5e08c4707d70e6db62c831
parentfe0f2f3870f4382fc5f6d76bfef59f7186512232 (diff)
downloadeclipse.platform.swt-53f7bd6ab72219e2ba6d437c3e118870e205bbe0.tar.gz
eclipse.platform.swt-53f7bd6ab72219e2ba6d437c3e118870e205bbe0.tar.xz
eclipse.platform.swt-53f7bd6ab72219e2ba6d437c3e118870e205bbe0.zip
Bug 540841: [GTK4] Rename GdkWindow to GdkSurface
Fix compile warning. Change-Id: I4602a98d98c31437791eb7aace8d77548a3a26c7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
index 7ea1c5fdbd..b239ee4c6a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -2086,7 +2086,6 @@ public void setEnabled (boolean enabled) {
long /*int*/ surface = gtk_widget_get_surface (parentHandle);
Rectangle rect = getBoundsInPixels ();
GdkRectangle gdkRectangle = new GdkRectangle ();
- GdkWindowAttr attributes = new GdkWindowAttr ();
gdkRectangle.width = rect.width;
gdkRectangle.height = rect.height;
enableSurface = GDK.gdk_surface_new_child (surface, gdkRectangle);

Back to the top