>>  #endif
>>
>> -   _e_modules = eina_list_reverse(_e_modules);
>> -
>> -   EINA_LIST_FREE(_e_modules, m)
>> +   // whats was this for? modules should not depend on each others load
>> order
>> +   // _e_modules = eina_list_reverse(_e_modules);
>>
>
> Loading (and unloading) order is important!!
> I have done this for the gadman module, than need to be loaded after all the
> other modules.
> The order is controlled by e_module_priority_set().
>
> DaveMDS
>
>

This should not be needed. For loading gadman should listen to
E_EVENT_MODULE_UPDATE so that it can check wheter it has a config for
the module that was loaded. For unloading I do not see this
requirement either as one should be able to unload a module that
gadman holds an instance of and also be able to unload gadman while
the modules that gadman holds instances of remain loaded.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to