diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-08-03 15:05:43 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-08-03 20:33:29 -0400 |
commit | 6a88076d643ac9b570062b746912ac639cf39eaf (patch) | |
tree | 9327e21210c6700b04b8b3140d94b508851a1157 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | |
parent | 88dc3a4dc3c68bb6669db018f4d6d63689ecddba (diff) | |
download | eclipse.platform.swt-6a88076d643ac9b570062b746912ac639cf39eaf.tar.gz eclipse.platform.swt-6a88076d643ac9b570062b746912ac639cf39eaf.tar.xz eclipse.platform.swt-6a88076d643ac9b570062b746912ac639cf39eaf.zip |
Bug 386594 - Use gtk_widget_get_visible instead of GTK_WIDGET_VISIBLE for newer GTK+
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 4 |
1 files changed, 2 insertions, 2 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 78f8e6ea52..bd91287d3d 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 @@ -510,7 +510,7 @@ void adjustTrim () { } void bringToTop (boolean force) { - if (!OS.GTK_WIDGET_VISIBLE (shellHandle)) return; + if (!gtk_widget_get_visible (shellHandle)) return; Display display = this.display; Shell activeShell = display.activeShell; if (activeShell == this) return; @@ -1106,7 +1106,7 @@ public Point getSize () { public boolean getVisible () { checkWidget(); - return OS.GTK_WIDGET_VISIBLE (shellHandle); + return gtk_widget_get_visible (shellHandle); } /** |