Re: GnomeSettingsModule



On Wed, 2007-03-28 at 15:55 +0200, Rodrigo Moya wrote:
> Hi
> 
> Although a bit slower than I thought, here's at last the 1st step in the
> g-s-d refactoring I was talking about. This is the class to be
> implemented by the modules (gnome-settings-font, gnome-settings-...), it
> just provides the hooks for g-s-d to make the calls to the modules. With
> this, gnome-settings-daemon.c would just need to iterate over a list
> with all the objects implementing this class when making calls to their
> methods (instead of: gnome_settings_font_init; gnome_settings_xrdb_init,
> etc, etc).

Why not use GTypeModule instead? Mitch has a tutorial there:
http://glisc.org/~alex/files/Guadec/Mitch-GModule.pdf

-- 
Bastien Nocera <hadess hadess net> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]