diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 2000-02-03 23:36:14 +0000 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-02-03 23:36:14 +0000 |
commit | 8c3a98565418dcd447131981305e4dd7f452bf68 (patch) | |
tree | f6b9c150a2a8bbd780fbb4f2968dc41b8f2f721a /gdk-pixbuf/gdk-pixbuf-util.c | |
parent | 0030f6527c0e6a27a8b17641e1015be93acc76cb (diff) | |
download | gdk-pixbuf-8c3a98565418dcd447131981305e4dd7f452bf68.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.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); |