diff options
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-util.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-util.c b/gdk-pixbuf/gdk-pixbuf-util.c index 36dbed13c..96a8ca49b 100644 --- a/gdk-pixbuf/gdk-pixbuf-util.c +++ b/gdk-pixbuf/gdk-pixbuf-util.c @@ -110,13 +110,14 @@ gdk_pixbuf_add_alpha (GdkPixbuf *pixbuf, gboolean substitute_color, guchar r, gu * pixbuf formats is done automatically. **/ void -gdk_pixbuf_copy_area (GdkPixbuf *src_pixbuf, +gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf, int src_x, int src_y, int width, int height, GdkPixbuf *dest_pixbuf, int dest_x, int dest_y) { - ArtPixBuf *src_apb, *dest_apb; + const ArtPixBuf *src_apb; + ArtPixBuf *dest_apb; g_return_if_fail (src_pixbuf != NULL); g_return_if_fail (dest_pixbuf != NULL); |