summaryrefslogtreecommitdiff
path: root/rsvg.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-09-25 06:28:18 +0000
committerDarin Adler <darin@src.gnome.org>2001-09-25 06:28:18 +0000
commit119ffdd25dba54d676c783f9cc1646b85a989ea4 (patch)
treee6887d1761b6545630720bb3d17d9790cb934079 /rsvg.h
parent33742823edfc5ba63b44e2d3d62042e3c7cd045c (diff)
downloadlibrsvg-119ffdd25dba54d676c783f9cc1646b85a989ea4.tar.gz
Take const char *, not char *.
* rsvg.h: * rsvg.c: (rsvg_pixbuf_from_file), (rsvg_pixbuf_from_file_at_zoom), (rsvg_pixbuf_from_file_at_size): Take const char *, not char *. * test-rsvg.c: (main): Remove unneeded casts. Restore the error message for the case when the parser doesn't parse anything.
Diffstat (limited to 'rsvg.h')
-rw-r--r--rsvg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsvg.h b/rsvg.h
index 435a1c65..113851f0 100644
--- a/rsvg.h
+++ b/rsvg.h
@@ -59,13 +59,13 @@ GdkPixbuf *rsvg_handle_get_pixbuf (RsvgHandle *handle);
void rsvg_handle_free (RsvgHandle *handle);
/* convenience API */
-GdkPixbuf *rsvg_pixbuf_from_file (gchar *file_name,
+GdkPixbuf *rsvg_pixbuf_from_file (const gchar *file_name,
GError **error);
-GdkPixbuf *rsvg_pixbuf_from_file_at_zoom (gchar *file_name,
+GdkPixbuf *rsvg_pixbuf_from_file_at_zoom (const gchar *file_name,
double x_zoom,
double y_zoom,
GError **error);
-GdkPixbuf *rsvg_pixbuf_from_file_at_size (gchar *file_name,
+GdkPixbuf *rsvg_pixbuf_from_file_at_size (const gchar *file_name,
gint width,
gint height,
GError **error);