gtk+ r20192 - trunk/gdk-pixbuf



Author: tml
Date: Tue May 27 16:51:33 2008
New Revision: 20192
URL: http://svn.gnome.org/viewvc/gtk+?rev=20192&view=rev

Log:
2008-05-27  Tor Lillqvist  <tml novell com>

	* io-*.c: Use explicit G_MODULE_EXPORT decoration when building
	the loader in question as a module.

	* gdk-pixbuf-io.c: Enable included build of the icns and jasper
	loaders.



Modified:
   trunk/gdk-pixbuf/ChangeLog
   trunk/gdk-pixbuf/Makefile.am
   trunk/gdk-pixbuf/gdk-pixbuf-io.c
   trunk/gdk-pixbuf/io-ani.c
   trunk/gdk-pixbuf/io-bmp.c
   trunk/gdk-pixbuf/io-gif.c
   trunk/gdk-pixbuf/io-icns.c
   trunk/gdk-pixbuf/io-ico.c
   trunk/gdk-pixbuf/io-jasper.c
   trunk/gdk-pixbuf/io-jpeg.c
   trunk/gdk-pixbuf/io-pcx.c
   trunk/gdk-pixbuf/io-png.c
   trunk/gdk-pixbuf/io-pnm.c
   trunk/gdk-pixbuf/io-ras.c
   trunk/gdk-pixbuf/io-tga.c
   trunk/gdk-pixbuf/io-tiff.c
   trunk/gdk-pixbuf/io-wbmp.c
   trunk/gdk-pixbuf/io-xbm.c
   trunk/gdk-pixbuf/io-xpm.c

Modified: trunk/gdk-pixbuf/Makefile.am
==============================================================================
--- trunk/gdk-pixbuf/Makefile.am	(original)
+++ trunk/gdk-pixbuf/Makefile.am	Tue May 27 16:51:33 2008
@@ -43,7 +43,7 @@
 uninstall-ms-lib:
 endif
 
-# This places the generated .def in srcdir, since it is expected to be there.
+# This places the generated .def file in srcdir, since it is expected to be there.
 # (The one from a tarball is)
 gdk_pixbuf.def: gdk-pixbuf.symbols
 	(echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gdk-pixbuf.symbols | sed -e '/^$$/d' -e 's/^/	/' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gdk_pixbuf.def

Modified: trunk/gdk-pixbuf/gdk-pixbuf-io.c
==============================================================================
--- trunk/gdk-pixbuf/gdk-pixbuf-io.c	(original)
+++ trunk/gdk-pixbuf/gdk-pixbuf-io.c	Tue May 27 16:51:33 2008
@@ -363,6 +363,12 @@
 #ifdef INCLUDE_pcx
 	load_one_builtin_module (pcx);
 #endif
+#ifdef INCLUDE_icns
+	load_one_builtin_module (icns);
+#endif
+#ifdef INCLUDE_jasper
+	load_one_builtin_module (jasper);
+#endif
 #ifdef INCLUDE_gdiplus
 	/* We don't bother having the GDI+ loaders individually selectable
 	 * for building in or not.
@@ -592,6 +598,8 @@
 module (xbm);
 module (tga);
 module (pcx);
+module (icns);
+module (jasper);
 module (gdip_ico);
 module (gdip_wmf);
 module (gdip_emf);
@@ -660,6 +668,12 @@
 #ifdef INCLUDE_pcx
 	try_module (pcx,pcx);
 #endif
+#ifdef INCLUDE_icns
+	try_module (icns,icns);
+#endif
+#ifdef INCLUDE_jasper
+	try_module (jasper,jasper);
+#endif
 #ifdef INCLUDE_gdiplus
 	try_module (ico,gdip_ico);
 	try_module (wmf,gdip_wmf);

Modified: trunk/gdk-pixbuf/io-ani.c
==============================================================================
--- trunk/gdk-pixbuf/io-ani.c	(original)
+++ trunk/gdk-pixbuf/io-ani.c	Tue May 27 16:51:33 2008
@@ -678,13 +678,12 @@
 }
 
 #ifndef INCLUDE_ani
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__ani_ ## function
 #endif
 
-void
-MODULE_ENTRY (ani, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
         module->load_animation = gdk_pixbuf__ani_image_load_animation;
         module->begin_load = gdk_pixbuf__ani_image_begin_load;
@@ -692,8 +691,7 @@
         module->load_increment = gdk_pixbuf__ani_image_load_increment;
 }
 
-void
-MODULE_ENTRY (ani, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "RIFF    ACON", "    xxxx    ", 100 },

Modified: trunk/gdk-pixbuf/io-bmp.c
==============================================================================
--- trunk/gdk-pixbuf/io-bmp.c	(original)
+++ trunk/gdk-pixbuf/io-bmp.c	Tue May 27 16:51:33 2008
@@ -1387,13 +1387,12 @@
 }
 
 #ifndef INCLUDE_bmp
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__bmp_ ## function
 #endif
 
-void
-MODULE_ENTRY (bmp, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->begin_load = gdk_pixbuf__bmp_image_begin_load;
 	module->stop_load = gdk_pixbuf__bmp_image_stop_load;
@@ -1402,8 +1401,7 @@
 	module->save_to_callback = gdk_pixbuf__bmp_image_save_to_callback;
 }
 
-void
-MODULE_ENTRY (bmp, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "BM", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-gif.c
==============================================================================
--- trunk/gdk-pixbuf/io-gif.c	(original)
+++ trunk/gdk-pixbuf/io-gif.c	Tue May 27 16:51:33 2008
@@ -1655,13 +1655,12 @@
 }
 
 #ifndef INCLUDE_gif
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__gif_ ## function
 #endif
 
-void
-MODULE_ENTRY (gif, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
         module->load = gdk_pixbuf__gif_image_load;
         module->begin_load = gdk_pixbuf__gif_image_begin_load;
@@ -1670,8 +1669,7 @@
         module->load_animation = gdk_pixbuf__gif_image_load_animation;
 }
 
-void
-MODULE_ENTRY (gif, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
         static GdkPixbufModulePattern signature[] = {
                 { "GIF8", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-icns.c
==============================================================================
--- trunk/gdk-pixbuf/io-icns.c	(original)
+++ trunk/gdk-pixbuf/io-icns.c	Tue May 27 16:51:33 2008
@@ -364,14 +364,18 @@
   return pixbuf;
 }
 
-void
-fill_vtable (GdkPixbufModule * module)
+#ifndef INCLUDE_png
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
+#else
+#define MODULE_ENTRY(function) void _gdk_pixbuf__icns_ ## function
+#endif
+
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule * module)
 {
   module->load = icns_image_load;
 }
 
-void
-fill_info (GdkPixbufFormat * info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)
 {
   static GdkPixbufModulePattern signature[] = {
     {"icns", NULL, 100},	/* file begins with 'icns' */

Modified: trunk/gdk-pixbuf/io-ico.c
==============================================================================
--- trunk/gdk-pixbuf/io-ico.c	(original)
+++ trunk/gdk-pixbuf/io-ico.c	Tue May 27 16:51:33 2008
@@ -1184,14 +1184,13 @@
 	return TRUE;
 }
 
-#ifndef INCLUDE_ico
-#define MODULE_ENTRY(type,function) function
+#ifndef INCLUDE_png
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__ico_ ## function
 #endif
 
-void
-MODULE_ENTRY (ico, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->begin_load = gdk_pixbuf__ico_image_begin_load;
 	module->stop_load = gdk_pixbuf__ico_image_stop_load;
@@ -1199,8 +1198,7 @@
         module->save = gdk_pixbuf__ico_image_save;
 }
 
-void
-MODULE_ENTRY (ico, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "  \x1   ", "zz znz", 100 }, 

Modified: trunk/gdk-pixbuf/io-jasper.c
==============================================================================
--- trunk/gdk-pixbuf/io-jasper.c	(original)
+++ trunk/gdk-pixbuf/io-jasper.c	Tue May 27 16:51:33 2008
@@ -262,16 +262,20 @@
 	return TRUE;
 }
 
-void
-fill_vtable (GdkPixbufModule * module)
+#ifndef INCLUDE_png
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
+#else
+#define MODULE_ENTRY(function) void _gdk_pixbuf__jasper_ ## function
+#endif
+
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule * module)
 {
 	module->begin_load = jasper_image_begin_load;
 	module->stop_load = jasper_image_stop_load;
 	module->load_increment = jasper_image_load_increment;
 }
 
-void
-fill_info (GdkPixbufFormat * info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "    jP", "!!!!  ", 100 },		/* file begins with 'jP' at offset 4 */

Modified: trunk/gdk-pixbuf/io-jpeg.c
==============================================================================
--- trunk/gdk-pixbuf/io-jpeg.c	(original)
+++ trunk/gdk-pixbuf/io-jpeg.c	Tue May 27 16:51:33 2008
@@ -1272,13 +1272,12 @@
 }
 
 #ifndef INCLUDE_jpeg
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__jpeg_ ## function
 #endif
 
-void
-MODULE_ENTRY (jpeg, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->load = gdk_pixbuf__jpeg_image_load;
 	module->begin_load = gdk_pixbuf__jpeg_image_begin_load;
@@ -1288,8 +1287,7 @@
 	module->save_to_callback = gdk_pixbuf__jpeg_image_save_to_callback;
 }
 
-void
-MODULE_ENTRY (jpeg, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "\xff\xd8", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-pcx.c
==============================================================================
--- trunk/gdk-pixbuf/io-pcx.c	(original)
+++ trunk/gdk-pixbuf/io-pcx.c	Tue May 27 16:51:33 2008
@@ -720,21 +720,19 @@
 }
 
 #ifndef INCLUDE_pcx
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__pcx_ ## function
 #endif
 
-void
-MODULE_ENTRY (pcx, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->begin_load = gdk_pixbuf__pcx_begin_load;
 	module->stop_load = gdk_pixbuf__pcx_stop_load;
 	module->load_increment = gdk_pixbuf__pcx_load_increment;
 }
 
-void
-MODULE_ENTRY (pcx, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "\x0a \x01", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-png.c
==============================================================================
--- trunk/gdk-pixbuf/io-png.c	(original)
+++ trunk/gdk-pixbuf/io-png.c	Tue May 27 16:51:33 2008
@@ -1010,13 +1010,12 @@
 }
 
 #ifndef INCLUDE_png
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__png_ ## function
 #endif
 
-void
-MODULE_ENTRY (png, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
         module->load = gdk_pixbuf__png_image_load;
         module->begin_load = gdk_pixbuf__png_image_begin_load;
@@ -1026,8 +1025,7 @@
         module->save_to_callback = gdk_pixbuf__png_image_save_to_callback;
 }
 
-void
-MODULE_ENTRY (png, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
         static GdkPixbufModulePattern signature[] = {
                 { "\x89PNG\r\n\x1a\x0a", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-pnm.c
==============================================================================
--- trunk/gdk-pixbuf/io-pnm.c	(original)
+++ trunk/gdk-pixbuf/io-pnm.c	Tue May 27 16:51:33 2008
@@ -1037,13 +1037,12 @@
 }
 
 #ifndef INCLUDE_pnm
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__pnm_ ## function
 #endif
 
-void
-MODULE_ENTRY (pnm, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->load = gdk_pixbuf__pnm_image_load;
 	module->begin_load = gdk_pixbuf__pnm_image_begin_load;
@@ -1051,8 +1050,7 @@
 	module->load_increment = gdk_pixbuf__pnm_image_load_increment;
 }
 
-void
-MODULE_ENTRY (pnm, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "P1", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-ras.c
==============================================================================
--- trunk/gdk-pixbuf/io-ras.c	(original)
+++ trunk/gdk-pixbuf/io-ras.c	Tue May 27 16:51:33 2008
@@ -512,21 +512,19 @@
 }
 
 #ifndef INCLUDE_ras
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__ras_ ## function
 #endif
 
-void
-MODULE_ENTRY (ras, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->begin_load = gdk_pixbuf__ras_image_begin_load;
 	module->stop_load = gdk_pixbuf__ras_image_stop_load;
 	module->load_increment = gdk_pixbuf__ras_image_load_increment;
 }
 
-void
-MODULE_ENTRY (ras, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "\x59\xa6\x6a\x95", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-tga.c
==============================================================================
--- trunk/gdk-pixbuf/io-tga.c	(original)
+++ trunk/gdk-pixbuf/io-tga.c	Tue May 27 16:51:33 2008
@@ -962,21 +962,19 @@
 }
 
 #ifndef INCLUDE_tga
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__tga_ ## function
 #endif
 
-void
-MODULE_ENTRY (tga, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->begin_load = gdk_pixbuf__tga_begin_load;
 	module->stop_load = gdk_pixbuf__tga_stop_load;
 	module->load_increment = gdk_pixbuf__tga_load_increment;
 }
 
-void
-MODULE_ENTRY (tga, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ " \x1\x1", "x  ", 100 },

Modified: trunk/gdk-pixbuf/io-tiff.c
==============================================================================
--- trunk/gdk-pixbuf/io-tiff.c	(original)
+++ trunk/gdk-pixbuf/io-tiff.c	Tue May 27 16:51:33 2008
@@ -777,13 +777,12 @@
 }
 
 #ifndef INCLUDE_tiff
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__tiff_ ## function
 #endif
 
-void
-MODULE_ENTRY (tiff, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
         module->load = gdk_pixbuf__tiff_image_load;
         module->begin_load = gdk_pixbuf__tiff_image_begin_load;
@@ -793,8 +792,7 @@
         module->save_to_callback = gdk_pixbuf__tiff_image_save_to_callback;
 }
 
-void
-MODULE_ENTRY (tiff, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
         static GdkPixbufModulePattern signature[] = {
                 { "MM \x2a", "  z ", 100 },

Modified: trunk/gdk-pixbuf/io-wbmp.c
==============================================================================
--- trunk/gdk-pixbuf/io-wbmp.c	(original)
+++ trunk/gdk-pixbuf/io-wbmp.c	Tue May 27 16:51:33 2008
@@ -340,21 +340,19 @@
 }
 
 #ifndef INCLUDE_wbmp
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__wbmp_ ## function
 #endif
 
-void
-MODULE_ENTRY (wbmp, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->begin_load = gdk_pixbuf__wbmp_image_begin_load;
 	module->stop_load = gdk_pixbuf__wbmp_image_stop_load;
 	module->load_increment = gdk_pixbuf__wbmp_image_load_increment;
 }
 
-void
-MODULE_ENTRY (wbmp, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "  ",    "zz", 1 }, 

Modified: trunk/gdk-pixbuf/io-xbm.c
==============================================================================
--- trunk/gdk-pixbuf/io-xbm.c	(original)
+++ trunk/gdk-pixbuf/io-xbm.c	Tue May 27 16:51:33 2008
@@ -458,13 +458,12 @@
 }
 
 #ifndef INCLUDE_xbm
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__xbm_ ## function
 #endif
 
-void
-MODULE_ENTRY (xbm, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->load = gdk_pixbuf__xbm_image_load;
 	module->begin_load = gdk_pixbuf__xbm_image_begin_load;
@@ -472,8 +471,7 @@
 	module->load_increment = gdk_pixbuf__xbm_image_load_increment;
 }
 
-void
-MODULE_ENTRY (xbm, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "#define ", NULL, 100 },

Modified: trunk/gdk-pixbuf/io-xpm.c
==============================================================================
--- trunk/gdk-pixbuf/io-xpm.c	(original)
+++ trunk/gdk-pixbuf/io-xpm.c	Tue May 27 16:51:33 2008
@@ -782,13 +782,12 @@
 }
 
 #ifndef INCLUDE_xpm
-#define MODULE_ENTRY(type,function) function
+#define MODULE_ENTRY(function) G_MODULE_EXPORT void function
 #else
-#define MODULE_ENTRY(type,function) _gdk_pixbuf__ ## type ## _ ## function
+#define MODULE_ENTRY(function) void _gdk_pixbuf__xpm_ ## function
 #endif
 
-void
-MODULE_ENTRY (xpm, fill_vtable) (GdkPixbufModule *module)
+MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)
 {
 	module->load = gdk_pixbuf__xpm_image_load;
 	module->load_xpm_data = gdk_pixbuf__xpm_image_load_xpm_data;
@@ -797,8 +796,7 @@
 	module->load_increment = gdk_pixbuf__xpm_image_load_increment;
 }
 
-void
-MODULE_ENTRY (xpm, fill_info) (GdkPixbufFormat *info)
+MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)
 {
 	static GdkPixbufModulePattern signature[] = {
 		{ "/* XPM */", NULL, 100 },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]