summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk-pixbuf/io-ani.c12
-rw-r--r--gdk-pixbuf/io-bmp.c12
-rw-r--r--gdk-pixbuf/io-gdip-bmp.c12
-rw-r--r--gdk-pixbuf/io-gdip-emf.c12
-rw-r--r--gdk-pixbuf/io-gdip-gif.c12
-rw-r--r--gdk-pixbuf/io-gdip-ico.c12
-rw-r--r--gdk-pixbuf/io-gdip-jpeg.c12
-rw-r--r--gdk-pixbuf/io-gdip-png.c12
-rw-r--r--gdk-pixbuf/io-gdip-tiff.c12
-rw-r--r--gdk-pixbuf/io-gdip-wmf.c12
-rw-r--r--gdk-pixbuf/io-gif.c12
-rw-r--r--gdk-pixbuf/io-icns.c12
-rw-r--r--gdk-pixbuf/io-ico.c12
-rw-r--r--gdk-pixbuf/io-jasper.c12
-rw-r--r--gdk-pixbuf/io-jpeg.c12
-rw-r--r--gdk-pixbuf/io-pcx.c12
-rw-r--r--gdk-pixbuf/io-pixdata.c12
-rw-r--r--gdk-pixbuf/io-png.c12
-rw-r--r--gdk-pixbuf/io-pnm.c12
-rw-r--r--gdk-pixbuf/io-qtif.c12
-rw-r--r--gdk-pixbuf/io-ras.c12
-rw-r--r--gdk-pixbuf/io-tga.c12
-rw-r--r--gdk-pixbuf/io-tiff.c12
-rw-r--r--gdk-pixbuf/io-wbmp.c12
-rw-r--r--gdk-pixbuf/io-xbm.c12
-rw-r--r--gdk-pixbuf/io-xpm.c12
26 files changed, 156 insertions, 156 deletions
diff --git a/gdk-pixbuf/io-ani.c b/gdk-pixbuf/io-ani.c
index a5eeccdbf..72f2d0e52 100644
--- a/gdk-pixbuf/io-ani.c
+++ b/gdk-pixbuf/io-ani.c
@@ -653,24 +653,24 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "RIFF ACON", " xxxx ", 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar * mime_types[] = {
"application/x-navi-animation",
NULL
};
- static gchar * extensions[] = {
+ static const gchar * extensions[] = {
"ani",
NULL
};
info->name = "ani";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The ANI 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-bmp.c b/gdk-pixbuf/io-bmp.c
index 26ffb62c8..4b5c5a370 100644
--- a/gdk-pixbuf/io-bmp.c
+++ b/gdk-pixbuf/io-bmp.c
@@ -1402,26 +1402,26 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "BM", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar * mime_types[] = {
"image/bmp",
"image/x-bmp",
"image/x-MS-bmp",
NULL
};
- static gchar * extensions[] = {
+ static const gchar * extensions[] = {
"bmp",
NULL
};
info->name = "bmp";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The BMP 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";
}
diff --git a/gdk-pixbuf/io-gdip-bmp.c b/gdk-pixbuf/io-gdip-bmp.c
index 40f6a5f53..f6433bd7b 100644
--- a/gdk-pixbuf/io-gdip-bmp.c
+++ b/gdk-pixbuf/io-gdip-bmp.c
@@ -60,28 +60,28 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "BM", NULL, 100 }, /* BMP */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/bmp",
"image/x-bmp",
"image/x-MS-bmp",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"bmp",
NULL
};
info->name = "bmp";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The BMP 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";
}
diff --git a/gdk-pixbuf/io-gdip-emf.c b/gdk-pixbuf/io-gdip-emf.c
index 07ee0b020..71965fce2 100644
--- a/gdk-pixbuf/io-gdip-emf.c
+++ b/gdk-pixbuf/io-gdip-emf.c
@@ -36,12 +36,12 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\x01\x00\x00\x00", NULL, 100 }, /* EMF */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"application/emf",
"application/x-emf",
"image/x-emf",
@@ -49,16 +49,16 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"emf",
NULL
};
info->name = "emf";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The EMF 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_THREADSAFE;
info->license = "LGPL";
}
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";
}
diff --git a/gdk-pixbuf/io-gdip-ico.c b/gdk-pixbuf/io-gdip-ico.c
index 8538b5811..7246f3ca7 100644
--- a/gdk-pixbuf/io-gdip-ico.c
+++ b/gdk-pixbuf/io-gdip-ico.c
@@ -36,29 +36,29 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ " \x1 ", "zz znz", 100 }, /* ICO */
{ " \x2 ", "zz znz", 100 }, /* ICO */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-icon",
"image/x-ico",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"ico",
"cur",
NULL
};
info->name = "ico";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The ICO 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-gdip-jpeg.c b/gdk-pixbuf/io-gdip-jpeg.c
index 8bd305860..95699eff6 100644
--- a/gdk-pixbuf/io-gdip-jpeg.c
+++ b/gdk-pixbuf/io-gdip-jpeg.c
@@ -114,17 +114,17 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\xff\xd8", NULL, 100 }, /* JPEG */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/jpeg",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"jpeg",
"jpe",
"jpg",
@@ -132,10 +132,10 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
};
info->name = "jpeg";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The JPEG 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";
}
diff --git a/gdk-pixbuf/io-gdip-png.c b/gdk-pixbuf/io-gdip-png.c
index 8b094bfca..3c998579d 100644
--- a/gdk-pixbuf/io-gdip-png.c
+++ b/gdk-pixbuf/io-gdip-png.c
@@ -113,26 +113,26 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\x89PNG\r\n\x1a\x0a", NULL, 100 }, /* PNG */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/png",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"png",
NULL
};
info->name = "png";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The PNG 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";
}
diff --git a/gdk-pixbuf/io-gdip-tiff.c b/gdk-pixbuf/io-gdip-tiff.c
index 7e0a1898e..1e322df57 100644
--- a/gdk-pixbuf/io-gdip-tiff.c
+++ b/gdk-pixbuf/io-gdip-tiff.c
@@ -60,28 +60,28 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "MM \x2a", " z ", 100 }, /* TIFF */
{ "II\x2a ", " z", 100 }, /* TIFF */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/tiff",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"tiff",
"tif",
NULL
};
info->name = "tiff";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = "The TIFF 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";
}
diff --git a/gdk-pixbuf/io-gdip-wmf.c b/gdk-pixbuf/io-gdip-wmf.c
index 3c89d4a3d..8a1978d1a 100644
--- a/gdk-pixbuf/io-gdip-wmf.c
+++ b/gdk-pixbuf/io-gdip-wmf.c
@@ -36,28 +36,28 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\xd7\xcd\xc6\x9a", NULL, 100 }, /* WMF */
{ "\x01\x00\x09\x00", NULL, 100 }, /* WMF */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-wmf",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"wmf",
"apm",
NULL
};
info->name = "wmf";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = _("The WMF 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c
index a943f4e0a..011a6cae5 100644
--- a/gdk-pixbuf/io-gif.c
+++ b/gdk-pixbuf/io-gif.c
@@ -1702,24 +1702,24 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "GIF8", NULL, 100 },
{ 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 = N_("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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-icns.c b/gdk-pixbuf/io-icns.c
index 00cdc50f7..2913e1984 100644
--- a/gdk-pixbuf/io-icns.c
+++ b/gdk-pixbuf/io-icns.c
@@ -379,24 +379,24 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule * module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{"icns", NULL, 100}, /* file begins with 'icns' */
{NULL, NULL, 0}
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-icns",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"icns",
NULL
};
info->name = "icns";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The ICNS 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_THREADSAFE;
info->license = "GPL";
info->disabled = FALSE;
diff --git a/gdk-pixbuf/io-ico.c b/gdk-pixbuf/io-ico.c
index b73211ced..408f4305e 100644
--- a/gdk-pixbuf/io-ico.c
+++ b/gdk-pixbuf/io-ico.c
@@ -1249,28 +1249,28 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ " \x1 ", "zz znz", 100 },
{ " \x2 ", "zz znz", 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-icon",
"image/x-ico",
"image/x-win-bitmap",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"ico",
"cur",
NULL
};
info->name = "ico";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The ICO 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";
}
diff --git a/gdk-pixbuf/io-jasper.c b/gdk-pixbuf/io-jasper.c
index 72046c68f..5eeac015d 100644
--- a/gdk-pixbuf/io-jasper.c
+++ b/gdk-pixbuf/io-jasper.c
@@ -280,18 +280,18 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule * module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ " jP", "!!!! ", 100 }, /* file begins with 'jP' at offset 4 */
{ "\xff\x4f\xff\x51\x00", NULL, 100 }, /* file starts with FF 4F FF 51 00 */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/jp2",
"image/jpeg2000",
"image/jpx",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"jp2",
"jpc",
"jpx",
@@ -301,10 +301,10 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)
};
info->name = "jpeg2000";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The JPEG 2000 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_THREADSAFE;
info->license = "LGPL";
info->disabled = FALSE;
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
index 4a90d873f..a4a1554e2 100644
--- a/gdk-pixbuf/io-jpeg.c
+++ b/gdk-pixbuf/io-jpeg.c
@@ -1460,15 +1460,15 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\xff\xd8", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/jpeg",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"jpeg",
"jpe",
"jpg",
@@ -1476,10 +1476,10 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
};
info->name = "jpeg";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The JPEG 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";
}
diff --git a/gdk-pixbuf/io-pcx.c b/gdk-pixbuf/io-pcx.c
index b658f5828..86419aea9 100644
--- a/gdk-pixbuf/io-pcx.c
+++ b/gdk-pixbuf/io-pcx.c
@@ -733,7 +733,7 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\x0a \x01", NULL, 100 },
{ "\x0a\x02\x01", NULL, 100 },
{ "\x0a\x03\x01", NULL, 100 },
@@ -741,20 +741,20 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{ "\x0a\x05\x01", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-pcx",
NULL,
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"pcx",
NULL,
};
info->name = "pcx";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The PCX 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-pixdata.c b/gdk-pixbuf/io-pixdata.c
index 08ae20b47..f55009122 100644
--- a/gdk-pixbuf/io-pixdata.c
+++ b/gdk-pixbuf/io-pixdata.c
@@ -168,24 +168,24 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule * module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "GdkP", NULL, 100 }, /* file begins with 'GdkP' at offset 0 */
{ NULL, NULL, 0 }
};
- static gchar *mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-gdkpixdata",
NULL
};
- static gchar *extensions[] = {
+ static const gchar *extensions[] = {
"gdkp",
NULL
};
info->name = "GdkPixdata";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The GdkPixdata format");
- info->mime_types = mime_types;
- info->extensions = extensions;
+ info->mime_types = (gchar **) mime_types;
+ info->extensions = (gchar **) extensions;
info->flags = GDK_PIXBUF_FORMAT_THREADSAFE;
info->license = "LGPL";
info->disabled = FALSE;
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
index c8c559783..454e92b79 100644
--- a/gdk-pixbuf/io-png.c
+++ b/gdk-pixbuf/io-png.c
@@ -1101,24 +1101,24 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\x89PNG\r\n\x1a\x0a", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/png",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"png",
NULL
};
info->name = "png";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The PNG 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";
}
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c
index b15aa91a0..21a007352 100644
--- a/gdk-pixbuf/io-pnm.c
+++ b/gdk-pixbuf/io-pnm.c
@@ -1050,7 +1050,7 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "P1", NULL, 100 },
{ "P2", NULL, 100 },
{ "P3", NULL, 100 },
@@ -1059,14 +1059,14 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{ "P6", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-portable-anymap",
"image/x-portable-bitmap",
"image/x-portable-graymap",
"image/x-portable-pixmap",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"pnm",
"pbm",
"pgm",
@@ -1075,10 +1075,10 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
};
info->name = "pnm";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The PNM/PBM/PGM/PPM image format family");
- info->mime_types = mime_types;
- info->extensions = extensions;
+ info->mime_types = (gchar **) mime_types;
+ info->extensions = (gchar **) extensions;
info->flags = GDK_PIXBUF_FORMAT_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-qtif.c b/gdk-pixbuf/io-qtif.c
index ee4ffd0ed..e0ebe6341 100644
--- a/gdk-pixbuf/io-qtif.c
+++ b/gdk-pixbuf/io-qtif.c
@@ -597,27 +597,27 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "abcdidsc", "xxxx ", 100 },
{ "abcdidat", "xxxx ", 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-quicktime",
"image/qtif",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"qtif",
"qif",
NULL
};
info->name = "qtif";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The QTIF 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-ras.c b/gdk-pixbuf/io-ras.c
index ee79f1a38..38593b391 100644
--- a/gdk-pixbuf/io-ras.c
+++ b/gdk-pixbuf/io-ras.c
@@ -525,25 +525,25 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "\x59\xa6\x6a\x95", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-cmu-raster",
"image/x-sun-raster",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"ras",
NULL
};
info->name = "ras";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The Sun raster 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-tga.c b/gdk-pixbuf/io-tga.c
index 5ef14fade..e6e9ce1fd 100644
--- a/gdk-pixbuf/io-tga.c
+++ b/gdk-pixbuf/io-tga.c
@@ -983,7 +983,7 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ " \x1\x1", "x ", 100 },
{ " \x1\x9", "x ", 100 },
{ " \x2", "xz ", 99 }, /* only 99 since .CUR also matches this */
@@ -992,21 +992,21 @@ MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{ " \xb", "xz ", 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-tga",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"tga",
"targa",
NULL
};
info->name = "tga";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The Targa 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c
index daf096a03..2f4e7e8ae 100644
--- a/gdk-pixbuf/io-tiff.c
+++ b/gdk-pixbuf/io-tiff.c
@@ -767,27 +767,27 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "MM \x2a", " z ", 100 },
{ "II\x2a ", " z", 100 },
{ "II* \020 CR\002 ", " z zzz z", 0 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/tiff",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"tiff",
"tif",
NULL
};
info->name = "tiff";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The TIFF image format");
- info->mime_types = mime_types;
- info->extensions = extensions;
+ info->mime_types = (gchar **) mime_types;
+ info->extensions = (gchar **) extensions;
/* not threadsafe, due to the error handler handling */
info->flags = GDK_PIXBUF_FORMAT_WRITABLE | GDK_PIXBUF_FORMAT_THREADSAFE;
info->license = "LGPL";
diff --git a/gdk-pixbuf/io-wbmp.c b/gdk-pixbuf/io-wbmp.c
index e961322f8..e86fab298 100644
--- a/gdk-pixbuf/io-wbmp.c
+++ b/gdk-pixbuf/io-wbmp.c
@@ -353,27 +353,27 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ " ", "zz", 1 },
{ " \140", "z ", 1 },
{ " \100", "z ", 1 },
{ " \040", "z ", 1 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/vnd.wap.wbmp",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"wbmp",
NULL
};
info->name = "wbmp";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The WBMP 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-xbm.c b/gdk-pixbuf/io-xbm.c
index 4f3e1e8bd..5b0e5df6c 100644
--- a/gdk-pixbuf/io-xbm.c
+++ b/gdk-pixbuf/io-xbm.c
@@ -482,25 +482,25 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "#define ", NULL, 100 },
{ "/*", NULL, 50 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-xbitmap",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"xbm",
NULL
};
info->name = "xbm";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The XBM 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_THREADSAFE;
info->license = "LGPL";
}
diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c
index 7b372afef..02c55ccd9 100644
--- a/gdk-pixbuf/io-xpm.c
+++ b/gdk-pixbuf/io-xpm.c
@@ -799,24 +799,24 @@ MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
{
- static GdkPixbufModulePattern signature[] = {
+ static const GdkPixbufModulePattern signature[] = {
{ "/* XPM */", NULL, 100 },
{ NULL, NULL, 0 }
};
- static gchar * mime_types[] = {
+ static const gchar *mime_types[] = {
"image/x-xpixmap",
NULL
};
- static gchar * extensions[] = {
+ static const gchar *extensions[] = {
"xpm",
NULL
};
info->name = "xpm";
- info->signature = signature;
+ info->signature = (GdkPixbufModulePattern *) signature;
info->description = N_("The XPM 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_THREADSAFE;
info->license = "LGPL";
}