]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/io-wbmp.c
chain finalize to parent class to get removed from the toplevel_list.
[~andy/gtk] / gdk-pixbuf / io-wbmp.c
index 1537d83d624eb36b8a5c7fc0fc4a47e7bb32f755..c495b21cbf668f0951c8edd72dad11dc007718c4 100644 (file)
@@ -160,7 +160,7 @@ static gboolean gdk_pixbuf__wbmp_image_stop_load(gpointer data,
 }
 
 static gboolean
-getin(struct wbmp_progressive_state *context, guchar **buf, guint *buf_size, guchar *ptr, int datum_size)
+getin(struct wbmp_progressive_state *context, const guchar **buf, guint *buf_size, guchar *ptr, int datum_size)
 {
   int last_num, buf_num;
 
@@ -195,7 +195,7 @@ save_rest(struct wbmp_progressive_state *context, const guchar *buf, guint buf_s
 }
 
 static gboolean
-get_mbi(struct wbmp_progressive_state *context, guchar **buf, guint *buf_size, int *val)
+get_mbi(struct wbmp_progressive_state *context, const guchar **buf, guint *buf_size, int *val)
 {
   guchar intbuf[16];
   int i, n;