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
commit8c3a98565418dcd447131981305e4dd7f452bf68 (patch)
treef6b9c150a2a8bbd780fbb4f2968dc41b8f2f721a /gdk-pixbuf/gdk-pixbuf-util.c
parent0030f6527c0e6a27a8b17641e1015be93acc76cb (diff)
downloadgdk-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.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);