app/tests: Fix gimp_display_shell_transform_xy() build

This commit is contained in:
Martin Nordholts
2010-09-26 12:46:26 +02:00
parent 27d3070a73
commit ea5190e630

View File

@ -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,