app: make gimp_display_shell_mask_bounds() use x, y, width, height

instead of x1, y1, x2, y2, and use gimp_item_bounds() instead of
gimp_channel_bounds().
This commit is contained in:
Michael Natterer
2015-07-02 01:53:46 +02:00
parent 2ed749fd26
commit af1e86827f
3 changed files with 51 additions and 37 deletions

View File

@ -276,10 +276,10 @@ gboolean gimp_display_shell_snap_coords (GimpDisplayShell *shell,
gint snap_height);
gboolean gimp_display_shell_mask_bounds (GimpDisplayShell *shell,
gint *x1,
gint *y1,
gint *x2,
gint *y2);
gint *x,
gint *y,
gint *width,
gint *height);
void gimp_display_shell_flush (GimpDisplayShell *shell,
gboolean now);