Displaying 3 results from an estimated 3 matches for "plugin_new".
Did you mean:
plugin_env
2007 Nov 06
0
configure.ac src/Makefile.am src/plugin.c
...if (!g_module_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,...
2007 Nov 06
1
src/plugin.c
...e_this_thing_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&quo...
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to