Re: gconf_entry_get_schema_name() returns NULL
- From: Havoc Pennington <hp redhat com>
- To: Pasupathi Duraisamy <pasupathi duraisamy wipro com>
- Cc: gconf-list gnome org
- Subject: Re: gconf_entry_get_schema_name() returns NULL
- Date: Fri, 11 Apr 2003 12:10:56 -0400
On Fri, Apr 11, 2003 at 10:30:29AM +0530, Pasupathi Duraisamy wrote:
> I have a gconf key (say "/apps/foo/bar") in a gconf client. The
> corresponding schema is present in "/schemas/apps/foo/bar".
> Through an application I tried to modify the value of "/apps/foo/bar"
> and after modifying when I call gconf_entry_get_schema_name() it returns
> NULL. But when I close the application and restart it, the function
> returns correct value.
> I don't understand why the gconf_entry_get_schema_name() is not
> returning the schema path for the modified gconf key in this particular
> scenario.
> Can anyone let me know what could be the problem?
>
Did you associate the schema name with the key? (Normally happens when
you install schema files, because of <applyto> elements in .schemas)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]