Usage of GConf API issue (gconf_client_get_default,gconf_client_get)



Hi all,
 
I am trying to write a library using GConf API (gconf_client_get, etc.) to read system configures info, but I encounter the follow issue:
gconf_client_get got nothing, and I found the DBUS_SESSION_BUS_ADDRESS is not set in the library process environment.
 
I don’t know why DBUS_SESSION_BUS_ADDRESS is not set in my library process environment. In fact, DBUS_SESSION_BUS_ADDRESS is already set in system.
So How to set correct DBUS_SESSION_BUS_ADDRESS in my library?
 
Thanks in advanced
 
-Best regards
-Qiang
 
 


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