diff options
Diffstat (limited to 'gdk-pixbuf/io-xbm.c')
-rw-r--r-- | gdk-pixbuf/io-xbm.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdk-pixbuf/io-xbm.c b/gdk-pixbuf/io-xbm.c index a649afb4b..1b5a17e42 100644 --- a/gdk-pixbuf/io-xbm.c +++ b/gdk-pixbuf/io-xbm.c @@ -458,13 +458,12 @@ gdk_pixbuf__xbm_image_load_increment (gpointer data, } #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_ENTRY (xbm, fill_vtable) (GdkPixbufModule *module) 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 }, |