diff options
author | Tor Lillqvist <tml@novell.com> | 2008-05-27 16:51:33 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-05-27 16:51:33 +0000 |
commit | 32e5672e788c46394639f208475351c0884824a2 (patch) | |
tree | 5677345629eb0f9c7a2c3ddbbf648a4463b5fcc6 /gdk-pixbuf/io-png.c | |
parent | c0f59aa21853fc0cb1728cea93468f314002d7dd (diff) | |
download | gdk-pixbuf-32e5672e788c46394639f208475351c0884824a2.tar.gz |
Use explicit G_MODULE_EXPORT decoration when building the loader in
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.
svn path=/trunk/; revision=20192
Diffstat (limited to 'gdk-pixbuf/io-png.c')
-rw-r--r-- | gdk-pixbuf/io-png.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c index 117f7372e..c030fdee2 100644 --- a/gdk-pixbuf/io-png.c +++ b/gdk-pixbuf/io-png.c @@ -1010,13 +1010,12 @@ gdk_pixbuf__png_image_save_to_callback (GdkPixbufSaveFunc save_func, } #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_ENTRY (png, fill_vtable) (GdkPixbufModule *module) 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 }, |