diff options
author | Federico Mena Quintero <federico@gnome.org> | 2015-02-12 10:48:05 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2015-02-12 10:48:05 -0600 |
commit | 2c2db8dbe4b8f7f59654d2990f781af3d363b0ba (patch) | |
tree | 159aa3a6967532d24683269c5ac7b3911a1fa70a /gdk-pixbuf-loader | |
parent | 400336480ed5abbe398d2fa646872a668205a5fd (diff) | |
download | librsvg-2c2db8dbe4b8f7f59654d2990f781af3d363b0ba.tar.gz |
Fix const warnings in the pixbuf loader
Diffstat (limited to 'gdk-pixbuf-loader')
-rw-r--r-- | gdk-pixbuf-loader/io-svg.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdk-pixbuf-loader/io-svg.c b/gdk-pixbuf-loader/io-svg.c index 5cc4d374..55cea707 100644 --- a/gdk-pixbuf-loader/io-svg.c +++ b/gdk-pixbuf-loader/io-svg.c @@ -28,8 +28,6 @@ #include <rsvg.h> #include <gdk-pixbuf/gdk-pixbuf.h> -#include "librsvg-features.h" - #define N_(string) (string) #define _(string) (string) @@ -186,13 +184,13 @@ fill_vtable (GdkPixbufModule *module) void fill_info (GdkPixbufFormat *info) { - static GdkPixbufModulePattern signature[] = { + static const GdkPixbufModulePattern signature[] = { { " <svg", "* ", 100 }, { " <!DOCTYPE svg", "* ", 100 }, { NULL, NULL, 0 } }; - static gchar *mime_types[] = { /* yes folks, i actually have run into all of these in the wild... */ + static const gchar *mime_types[] = { /* yes folks, i actually have run into all of these in the wild... */ "image/svg+xml", "image/svg", "image/svg-xml", @@ -201,7 +199,7 @@ fill_info (GdkPixbufFormat *info) "image/svg+xml-compressed", NULL }; - static gchar *extensions[] = { + static const gchar *extensions[] = { "svg", "svgz", "svg.gz", |