mirror of https://github.com/GNOME/gimp.git
app: make input GimpCoords const in gimpdisplayshell-transform.[ch]
This commit is contained in:
parent
d300882401
commit
7bb58aedf9
|
@ -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));
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue