diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-12-18 22:55:15 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-12-18 22:55:15 -0500 |
commit | f9c233bdbc04abb41921bf11171c79556b8f139b (patch) | |
tree | 3798b0644c19bf955f23a46118e707664e5e0e76 /gdk-pixbuf/io-gdip-gif.c | |
parent | 1a3a44ee9766c7f3e81135619ec1ab848c36371f (diff) | |
download | gdk-pixbuf-f9c233bdbc04abb41921bf11171c79556b8f139b.tar.gz |
Make some string data const
https://bugzilla.gnome.org/show_bug.cgi?id=144042
Diffstat (limited to 'gdk-pixbuf/io-gdip-gif.c')
-rw-r--r-- | gdk-pixbuf/io-gdip-gif.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdk-pixbuf/io-gdip-gif.c b/gdk-pixbuf/io-gdip-gif.c index f991a9d3d..7c8813dc2 100644 --- a/gdk-pixbuf/io-gdip-gif.c +++ b/gdk-pixbuf/io-gdip-gif.c @@ -60,26 +60,26 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module) MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "GIF8", NULL, 100 }, /* GIF */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/gif",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"gif",
NULL
};
info->name = "gif";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The GIF image format");
- info->mime_types = mime_types;
- info->extensions = extensions;
+ info->mime_types = (gchar **) mime_types;
+ info->extensions = (gchar **) extensions;
info->flags = GDK_PIXBUF_FORMAT_WRITABLE | GDK_PIXBUF_FORMAT_THREADSAFE;
info->license = "LGPL";
}
|