summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
diff options
context:
space:
mode:
authorDean Roberts <droberts>2003-03-10 22:25:33 +0000
committerDean Roberts <droberts>2003-03-10 22:25:33 +0000
commitf5d8125553154ed98ed616de3e95a1b61ad34630 (patch)
tree1ffdef9a6b1130baeafacfbdd6c61284829c5512 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
parentb4ebfd6393146803d50265d164c2061e05a93d60 (diff)
downloadeclipse.platform.swt-f5d8125553154ed98ed616de3e95a1b61ad34630.tar.gz
eclipse.platform.swt-f5d8125553154ed98ed616de3e95a1b61ad34630.tar.xz
eclipse.platform.swt-f5d8125553154ed98ed616de3e95a1b61ad34630.zip
Copyright fix - automated changesv20030310-postcopyrightupdate
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.java19
1 files changed, 12 insertions, 7 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 0bf6729db6..dedd1f0467 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
@@ -1,11 +1,15 @@
-package org.eclipse.swt.widgets;
-
-/*
- * Copyright (c) 2000, 2002 IBM Corp. All rights reserved.
- * This file is made available under the terms of the Common Public License v1.0
+/*******************************************************************************
+ * Copyright (c) 2000, 2003 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
- */
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.swt.widgets;
+
import org.eclipse.swt.*;
import org.eclipse.swt.internal.gtk.*;
@@ -83,7 +87,8 @@ void createHandle (int index) {
timerId = OS.gtk_timeout_add (DELAY, display.windowTimerProc, handle);
} else {
/*
- * Note: this API is deprecated, but there is no replacement. */
+ * Note: this API is deprecated, but there is no replacement.
+ */
int barStyle = (this.style & SWT.SMOOTH) == 0 ? OS.GTK_PROGRESS_DISCRETE : OS.GTK_PROGRESS_CONTINUOUS;
OS.gtk_progress_bar_set_bar_style (handle, barStyle);
}