< prev index next >

src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c

Print this page

        

@@ -263,11 +263,11 @@
     int index;
 
     if (isGtkSupported) {
         gtk->gdk_threads_enter();
         gtk_failed = gtk->get_drawable_data(env, pixelArray, x, y, width,
-                                            jwidth, height, dx, dy, scale);
+                                            height, jwidth, dx, dy, scale);
         gtk->gdk_threads_leave();
     }
 
     if (gtk_failed) {
         image = getWindowImage(awt_display, rootWindow, sx, sy, swidth, sheight);
< prev index next >