Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-04-02 15:44:13 +0000
committerAlexander Kurtakov2015-04-02 15:44:13 +0000
commit5d750d3a048d5a00d24e71c7fe781836f0aa812b (patch)
tree17ed2e0493f22a0945f2450920342b529a28eb50 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
parentaaa61c23bbc3a20f6214223f6b037abd0bc8d9c9 (diff)
downloadeclipse.platform.swt-5d750d3a048d5a00d24e71c7fe781836f0aa812b.tar.gz
eclipse.platform.swt-5d750d3a048d5a00d24e71c7fe781836f0aa812b.tar.xz
eclipse.platform.swt-5d750d3a048d5a00d24e71c7fe781836f0aa812b.zip
Bug 463830 - Remove Widget.gtk_widget_get_visible
Call OS.gtk_widget_get_visible directly now that GTK 2.18 is no longer supported. Change-Id: I5e1ed44661e30d3eaff08b524fe1f320b4bc539a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
index 5dd3614e03..551d7146d3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
@@ -11,9 +11,9 @@
package org.eclipse.swt.widgets;
import org.eclipse.swt.*;
+import org.eclipse.swt.graphics.*;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.gtk.*;
-import org.eclipse.swt.graphics.*;
/**
* Instances of this class represent a selectable user interface object
@@ -443,7 +443,7 @@ void resizeControl (int yScroll) {
*/
ScrollBar vBar = parent.verticalBar;
if (vBar != null) {
- if (gtk_widget_get_visible (vBar.handle)) {
+ if (OS.gtk_widget_get_visible (vBar.handle)) {
OS.gtk_widget_get_allocation (parent.scrolledHandle, allocation);
width = allocation.width - parent.vScrollBarWidth () - 2 * parent.spacing;
}

Back to the top