summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-util.c
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-02-03 23:36:14 +0000
committerMichael Meeks <mmeeks@src.gnome.org>2000-02-03 23:36:14 +0000
commit45cb0268b92536ebcc420054e5fac5bffcf4b709 (patch)
tree0e5caf8715c35920a5d2f390a0ed54ffd67f0a84 /gdk-pixbuf/gdk-pixbuf-util.c
parent0f5251b51d9f96131a058cc6525535ad046de2f1 (diff)
downloadgdk-pixbuf-45cb0268b92536ebcc420054e5fac5bffcf4b709.tar.gz
By order of jrb: const patch for various bits, io-gif.c fixup for
By order of jrb: const patch for various bits, io-gif.c fixup for animations.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-util.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-util.c5
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);