search for: npmimetyp

Displaying 2 results from an estimated 2 matches for "npmimetyp".

Did you mean: npmimetype
2007 Nov 06
0
configure.ac src/Makefile.am src/plugin.c
...ule_supported ()) + return FALSE; + module = g_module_open (PLUGIN_DIR G_DIR_SEPARATOR_S "libswfdecmozilla." G_MODULE_SUFFIX, 0); + if (module == NULL) + return FALSE; + g_module_make_resident (module); + g_module_close (module); + return TRUE; +} + static NPError plugin_new (NPMIMEType mime_type, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], @@ -138,9 +157,8 @@ plugin_new (NPMIMEType mime_type, NPP instance, if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; - if (CallNPN_SetValueProc (mozilla_funcs.setvalue, instance, - NPPVplugi...
2007 Nov 06
1
src/plugin.c
..._stays_in_memory", &check) || + check != swfdec_mozilla_make_sure_this_thing_stays_in_memory) { + g_module_close (module); + return FALSE; + } g_module_make_resident (module); g_module_close (module); + inited = TRUE; return TRUE; } @@ -157,8 +166,12 @@ plugin_new (NPMIMEType mime_type, NPP instance, if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; - if (!make_sure_this_thing_stays_in_memory ()) + if (!swfdec_mozilla_make_sure_this_thing_stays_in_memory ()) { + g_printerr ("Ensuring the plugin stays in memory did not work.\n" +...