Re: GnomeSettingsModule



On Thu, 2007-03-29 at 13:11 +0100, Bastien Nocera wrote:
> 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
> 
hmm, I didn't know about the compiled-in support for this, thought it
was all g_module-dependent, so yeah, this looks like the better way to
go, and solves many of the problems I was seeing

So, yeah, working on this now
-- 
Rodrigo Moya <rodrigo gnome-db org>




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