Commit 03ad3f00 authored by Michael Natterer's avatar Michael Natterer 😴

app: reorder parameters in new style API

parent 002003a2
......@@ -266,7 +266,7 @@ gimp_display_shell_draw_grid (GimpDisplayShell *shell,
while (y_offset > 0)
y_offset -= grid->yspacing;
gimp_display_shell_set_grid_style (shell, grid, cr);
gimp_display_shell_set_grid_style (shell, cr, grid);
switch (grid->style)
{
......
......@@ -36,12 +36,12 @@
void
gimp_display_shell_set_grid_style (GimpDisplayShell *shell,
GimpGrid *grid,
cairo_t *cr)
cairo_t *cr,
GimpGrid *grid)
{
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_return_if_fail (GIMP_IS_GRID (grid));
g_return_if_fail (cr != NULL);
g_return_if_fail (GIMP_IS_GRID (grid));
cairo_set_line_width (cr, 1.0);
......
......@@ -23,8 +23,8 @@
void gimp_display_shell_set_grid_style (GimpDisplayShell *shell,
GimpGrid *grid,
cairo_t *cr);
cairo_t *cr,
GimpGrid *grid);
#endif /* __GIMP_DISPLAY_SHELL_STYLE_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment