summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
diff options
context:
space:
mode:
authorChristophe Cornu <ccornu>2004-02-20 16:27:04 +0000
committerChristophe Cornu <ccornu>2004-02-20 16:27:04 +0000
commitfcc0c13a871cf20a18999921224b7590b83d7802 (patch)
treeb12a3659f1d7b55beb80e017b8713fcb64156c5b /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
parent62fa8901ad710270f48c7ee890623da17bf1bfd8 (diff)
downloadeclipse.platform.swt-fcc0c13a871cf20a18999921224b7590b83d7802.tar.gz
eclipse.platform.swt-fcc0c13a871cf20a18999921224b7590b83d7802.tar.xz
eclipse.platform.swt-fcc0c13a871cf20a18999921224b7590b83d7802.zip
37775 - 64 bit /*long*/ markup
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
index d64ba5eb3d..5e897d2f1d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
@@ -78,7 +78,7 @@ void createHandle (int index) {
state |= HANDLE;
handle = OS.gtk_progress_bar_new ();
if (handle == 0) error (SWT.ERROR_NO_HANDLES);
- int parentHandle = parent.parentingHandle ();
+ int /*long*/ parentHandle = parent.parentingHandle ();
OS.gtk_container_add (parentHandle, handle);
OS.gtk_widget_show (handle);
int orientation = (style & SWT.VERTICAL) != 0 ? OS.GTK_PROGRESS_BOTTOM_TO_TOP : OS.GTK_PROGRESS_LEFT_TO_RIGHT;
@@ -139,8 +139,8 @@ public int getSelection () {
return selection;
}
-int gtk_realize (int widget) {
- int result = super.gtk_realize (widget);
+int /*long*/ gtk_realize (int /*long*/ widget) {
+ int /*long*/ result = super.gtk_realize (widget);
if (result != 0) return result;
/*
* Bug in GTK. When a progress bar has been unrealized after being
@@ -216,7 +216,7 @@ public void setSelection (int value) {
updateBar (selection, minimum, maximum);
}
-int timerProc (int widget) {
+int /*long*/ timerProc (int /*long*/ widget) {
if (isVisible ()) OS.gtk_progress_bar_pulse (handle);
return 1;
}
@@ -240,7 +240,7 @@ void updateBar (int selection, int minimum, int maximum) {
* outstanding redraws to be delivered.
*/
OS.gdk_flush ();
- int window = paintWindow ();
+ int /*long*/ window = paintWindow ();
OS.gdk_window_process_updates (window, false);
}
}