diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java index 812ce787bc..af86c4f365 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java @@ -308,7 +308,7 @@ Rectangle [] computeProportions (Rectangle [] rects) { void drawRectangles (Rectangle [] rects) { int /*long*/ window = OS.gdk_get_default_root_window(); if (parent != null) { - window = OS.GTK_WIDGET_WINDOW (parent.paintHandle()); + window = gtk_widget_get_window (parent.paintHandle()); } if (window == 0) return; //TODO: Use Cairo @@ -664,7 +664,7 @@ public boolean open () { checkWidget(); window = OS.gdk_get_default_root_window(); if (parent != null) { - window = OS.GTK_WIDGET_WINDOW (parent.paintHandle()); + window = gtk_widget_get_window (parent.paintHandle()); } if (window == 0) return false; cancelled = false; |