app: make input GimpCoords const in gimpdisplayshell-transform.[ch]

This commit is contained in:
Michael Natterer 2011-02-20 16:11:20 +01:00
parent d300882401
commit 7bb58aedf9
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@
**/
void
gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
GimpCoords *image_coords,
const GimpCoords *image_coords,
GimpCoords *display_coords)
{
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
@ -73,7 +73,7 @@ gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
**/
void
gimp_display_shell_untransform_coordinate (const GimpDisplayShell *shell,
GimpCoords *display_coords,
const GimpCoords *display_coords,
GimpCoords *image_coords)
{
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));

View File

@ -20,10 +20,10 @@
void gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
GimpCoords *image_coords,
const GimpCoords *image_coords,
GimpCoords *display_coords);
void gimp_display_shell_untransform_coordinate (const GimpDisplayShell *shell,
GimpCoords *display_coords,
const GimpCoords *display_coords,
GimpCoords *image_coords);
void gimp_display_shell_transform_xy (const GimpDisplayShell *shell,