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 | 59596e699f61f21ccdeaed1b175f9ab3fed5e49a (patch) | |
tree | 5c239b30843751c2ac852913c174acf4e65c3134 /gdk-pixbuf/io-jpeg.c | |
parent | a4f8d6ccffa5d1d0c64cc197054ccde451cefc13 (diff) | |
download | gtk+-59596e699f61f21ccdeaed1b175f9ab3fed5e49a.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-jpeg.c')
-rw-r--r-- | gdk-pixbuf/io-jpeg.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c index 7df7e1cd5c..2e25871f03 100644 --- a/gdk-pixbuf/io-jpeg.c +++ b/gdk-pixbuf/io-jpeg.c @@ -1272,13 +1272,12 @@ gdk_pixbuf__jpeg_image_save_to_callback (GdkPixbufSaveFunc save_func, } #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_ENTRY (jpeg, fill_vtable) (GdkPixbufModule *module) 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 }, |