summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2003-02-27 22:42:08 +0000
committerFelipe Heidrich <fheidric>2003-02-27 22:42:08 +0000
commit77c4e33d686bc4a8a65a94ada54f7d75fc0f7109 (patch)
tree3443ce9cba17f3defc997c7f521ac33c22841d63 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
parent386188295a72d5ef92d7c69bfa05c3e2d71b8399 (diff)
downloadeclipse.platform.swt-77c4e33d686bc4a8a65a94ada54f7d75fc0f7109.tar.gz
eclipse.platform.swt-77c4e33d686bc4a8a65a94ada54f7d75fc0f7109.tar.xz
eclipse.platform.swt-77c4e33d686bc4a8a65a94ada54f7d75fc0f7109.zip
31525
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
index 885c62cf2c..5a9bc9b21b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
@@ -159,15 +159,15 @@ public void scroll (int destX, int destY, int x, int y, int width, int height, b
boolean isFocus = caret != null && caret.isFocusCaret ();
if (isFocus) caret.killFocus ();
-// update ();
+ update ();
// GC gc = new GC (this);
// gc.copyArea (x, y, width, height, destX, destY);
// gc.dispose ();
- OS.gdk_flush ();
- while ((OS.gtk_events_pending()) != 0) {
- OS.gtk_main_iteration ();
- }
+// OS.gdk_flush ();
+// while ((OS.gtk_events_pending()) != 0) {
+// OS.gtk_main_iteration ();
+// }
int window = paintWindow ();
int visibleRegion = OS.gdk_drawable_get_visible_region (window);