diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-15 22:31:16 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-15 22:31:16 +0000 |
commit | 3d71da088b83c2cc5741dfdc8f619fbf2bba55a2 (patch) | |
tree | 8c26b93479c4a23b657c55809ea823f7b2bc2ca5 /amiga/plugin_hack.c | |
parent | 50508a6e75e8bfa955b9193f0b6252ff2e235220 (diff) | |
download | netsurf-3d71da088b83c2cc5741dfdc8f619fbf2bba55a2.tar.gz netsurf-3d71da088b83c2cc5741dfdc8f619fbf2bba55a2.tar.bz2 |
Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
svn path=/trunk/netsurf/; revision=12796
Diffstat (limited to 'amiga/plugin_hack.c')
-rw-r--r-- | amiga/plugin_hack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/plugin_hack.c b/amiga/plugin_hack.c index 7e6cbcb4e..9159cddb0 100644 --- a/amiga/plugin_hack.c +++ b/amiga/plugin_hack.c @@ -81,7 +81,8 @@ nserror amiga_plugin_hack_init(void) { LOG(("plugin_hack registered %s\n",lwc_string_data(type))); - error = content_factory_register_handler(type, + error = content_factory_register_handler( + lwc_string_data(type), &amiga_plugin_hack_content_handler); if (error != NSERROR_OK) |