Enlightenment CVS committal Author : pfritz Project : e17 Module : apps/estickies
Dir : e17/apps/estickies/src/bin Modified Files: plugin.c Log Message: api break in ecore_plugin =================================================================== RCS file: /cvs/e/e17/apps/estickies/src/bin/plugin.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- plugin.c 8 Aug 2007 07:57:00 -0000 1.1 +++ plugin.c 5 Sep 2007 17:17:02 -0000 1.2 @@ -60,12 +60,12 @@ if (ecore_hash_get(_e_plugin_loaded, plugin_name)) return 0; - if((plugin = ecore_plugin_load(_e_plugin_path, plugin_name)) == NULL) + if((plugin = ecore_plugin_load(_e_plugin_path, plugin_name, NULL)) == NULL) return 0; ecore_hash_set(_e_plugin_loaded, plugin_name, plugin); - if ((on_load = ecore_plugin_call(plugin, "plugin_on_load"))) + if ((on_load = ecore_plugin_symbol_get(plugin, "plugin_on_load"))) { on_load(); } @@ -82,7 +82,7 @@ if (!plugin_name || !(plugin = ecore_hash_get(_e_plugin_loaded, plugin_name))) return 0; - if ((on_unload = ecore_plugin_call(plugin, "plugin_on_unload"))) + if ((on_unload = ecore_plugin_symbol_get(plugin, "plugin_on_unload"))) { on_unload(); } @@ -99,7 +99,7 @@ { int *(*on_unload)(void); - if ((on_unload = ecore_plugin_call(plugin, "plugin_on_unload"))) + if ((on_unload = ecore_plugin_symbol_get(plugin, "plugin_on_unload"))) { on_unload(); } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs