Fail silently, since there may be two python plugins simultaneously

master
Yevgen Muntyan 2006-05-10 16:32:41 -05:00
parent 55d7cb7785
commit f8bf4615d6
1 changed files with 5 additions and 2 deletions

View File

@ -390,10 +390,13 @@ _moo_python_plugin_deinit (void)
#ifdef MOO_PYTHON_PLUGIN #ifdef MOO_PYTHON_PLUGIN
MOO_PLUGIN_INIT_FUNC_DECL;
MOO_PLUGIN_INIT_FUNC_DECL MOO_PLUGIN_INIT_FUNC_DECL
{ {
g_message ("%s: hi there", G_STRLOC); if (!moo_python_running ())
return _moo_python_plugin_init (); return _moo_python_plugin_init ();
else
return FALSE;
} }
#endif #endif