summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
diff options
context:
space:
mode:
authorAnatoly Spektor <aspektor@redhat.com>2012-10-04 14:58:50 -0400
committerAnatoly Spektor <aspektor@redhat.com>2012-10-04 14:58:50 -0400
commit7f677c4646e9ce3d2723f5e0c2995d4395e4d294 (patch)
tree0ed12c7df20349cef2f25ab9a527df19286aed45 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
parentbb4e83381b7dcfcdda6368f29494e85d7a1bdec8 (diff)
downloadeclipse.platform.swt-7f677c4646e9ce3d2723f5e0c2995d4395e4d294.tar.gz
eclipse.platform.swt-7f677c4646e9ce3d2723f5e0c2995d4395e4d294.tar.xz
eclipse.platform.swt-7f677c4646e9ce3d2723f5e0c2995d4395e4d294.zip
Use gtk_orientable_set_orientation and progressbar_inverted for GTK+ 3gtk3_progressbar_orientation_64
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index 1e5aa121aa..1b35784eff 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -9267,8 +9267,22 @@ public static final void gtk_progress_bar_set_fraction(long /*int*/ pbar, double
}
}
/**
+ * @method flags=dynamic
+ * @param pbar cast=(GtkProgressBar *)
+ * @param inverted cast=(gboolean)
+ */
+public static final native void _gtk_progress_bar_set_inverted(long /*int*/ pbar, boolean inverted);
+public static final void gtk_progress_bar_set_inverted(long /*int*/ pbar, boolean inverted) {
+ lock.lock();
+ try {
+ _gtk_progress_bar_set_inverted(pbar, inverted);
+ } finally {
+ lock.unlock();
+ }
+}
+/**
+ * @method flags=dynamic
* @param pbar cast=(GtkProgressBar *)
- * @param orientation cast=(GtkProgressBarOrientation)
*/
public static final native void _gtk_progress_bar_set_orientation(long /*int*/ pbar, int orientation);
public static final void gtk_progress_bar_set_orientation(long /*int*/ pbar, int orientation) {