Re: GnomeSettingsModule
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Bastien Nocera <hadess hadess net>
- Cc: Control Center List <gnomecc-list gnome org>
- Subject: Re: GnomeSettingsModule
- Date: Thu, 29 Mar 2007 15:27:02 +0200
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]