[gimp] app/tests: Fix gimp_display_shell_transform_xy() build



commit ea5190e630adfc1940074b0509a840b0d230f71e
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Sep 26 12:46:26 2010 +0200

    app/tests: Fix gimp_display_shell_transform_xy() build

 app/tests/test-ui.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/app/tests/test-ui.c b/app/tests/test-ui.c
index a46bcf9..8d1fe97 100644
--- a/app/tests/test-ui.c
+++ b/app/tests/test-ui.c
@@ -320,8 +320,7 @@ keyboard_zoom_focus (GimpTestFixture *fixture,
                                    image_x,
                                    image_y,
                                    &shell_x_before_zoom,
-                                   &shell_y_before_zoom,
-                                   FALSE /*use_offsets*/);
+                                   &shell_y_before_zoom);
   gimp_display_shell_push_zoom_focus_pointer_pos (shell,
                                                   shell_x_before_zoom,
                                                   shell_y_before_zoom);
@@ -336,8 +335,7 @@ keyboard_zoom_focus (GimpTestFixture *fixture,
                                    image_x,
                                    image_y,
                                    &shell_x_after_zoom,
-                                   &shell_y_after_zoom,
-                                   FALSE /*use_offsets*/);
+                                   &shell_y_after_zoom);
   factor_after_zoom = gimp_zoom_model_get_factor (shell->zoom);
 
   /* First of all make sure a zoom happend at all */
@@ -586,8 +584,7 @@ gimp_ui_toggle_docks_in_single_window_mode (Gimp *gimp)
   gimp_test_run_mainloop_until_idle ();
   gimp_display_shell_transform_xy (shell,
                                    0.0, 0.0,
-                                   &x_temp, &y_temp,
-                                   FALSE /*use_offsets*/);
+                                   &x_temp, &y_temp);
   gtk_widget_translate_coordinates (GTK_WIDGET (shell),
                                     toplevel,
                                     x_temp, y_temp,
@@ -603,8 +600,7 @@ gimp_ui_toggle_docks_in_single_window_mode (Gimp *gimp)
   gimp_test_run_mainloop_until_idle ();
   gimp_display_shell_transform_xy (shell,
                                    0.0, 0.0,
-                                   &x_temp, &y_temp,
-                                   FALSE /*use_offsets*/);
+                                   &x_temp, &y_temp);
   gtk_widget_translate_coordinates (GTK_WIDGET (shell),
                                     toplevel,
                                     x_temp, y_temp,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]