Re: gconf_client_add_dir problem



Hi,

I keep meaning to look at this issue, I haven't had a chance yet.
If someone else has time to investigate, please do. I'll get to it
eventually.

Thanks,
Havoc

Christophe Fergeau <teuf users sourceforge net> writes:
> There seems to be problems when using gconf_client_add_dir and notifiers,
> and when trying to read the value of a key using gconf_client_get_xxx.
> 
> The attached file is a modified basic-gconf-app.c (from GConf-0.12, but it
> doesn't seem to have changed much since that time). The code I added just
> changes the value of a key two time before the application starts, and
> then, each time the preferences are applied, it should change the value of
> this key from 5 to 0. But for the value to effectively change, one has to
> apply the prefs two times. Removing gconf_client_add_dir from main solves
> the problem.
> 
> Is accessing a key with gconf_client_get_xxx forbidden when using notifiers
> ? Is it a bug in gconf ? Or is it something else ?
> 
> Christophe




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