Commit 65a697ff authored by Michael Natterer's avatar Michael Natterer 😴

app: switch the first two args of gimp_channel_new_from_buffer()

parent de0706f3
......@@ -1559,16 +1559,16 @@ gimp_channel_new (GimpImage *image,
}
GimpChannel *
gimp_channel_new_from_buffer (GeglBuffer *buffer,
GimpImage *image,
gimp_channel_new_from_buffer (GimpImage *image,
GeglBuffer *buffer,
const gchar *name,
const GimpRGB *color)
{
GimpChannel *channel;
GeglBuffer *dest;
g_return_val_if_fail (GEGL_IS_BUFFER (buffer), NULL);
g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL);
g_return_val_if_fail (GEGL_IS_BUFFER (buffer), NULL);
channel = gimp_channel_new (image,
gegl_buffer_get_width (buffer),
......
......@@ -126,8 +126,8 @@ GimpChannel * gimp_channel_new (GimpImage *image,
gint height,
const gchar *name,
const GimpRGB *color);
GimpChannel * gimp_channel_new_from_buffer (GeglBuffer *buffer,
GimpImage *image,
GimpChannel * gimp_channel_new_from_buffer (GimpImage *image,
GeglBuffer *buffer,
const gchar *name,
const GimpRGB *color);
GimpChannel * gimp_channel_new_from_alpha (GimpImage *image,
......
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