Commit Graph

6 Commits

Author SHA1 Message Date
c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
1301cf02ef Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-02-25 16:20:41 +01:00
0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
0d17115d2c Fix a potential uninitialized argument in e-plugin-python.c.
if (PyCallable_Check (priv->pClass))
		pInstance = PyObject_CallObject (priv->pClass, NULL);

	pValue = PyObject_CallMethod (pInstance, (gchar *) name, NULL);

'pInstance' may be uninitialzed in call to PyObject_CallMethod().

Found by the Clang Static Analyzer.
2010-01-15 21:51:35 -05:00
32f545cdf0 Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
2009-08-29 17:23:20 -04:00