Weird Gconf2 stuff....



Hi,
My program uses gnome_config, but when i ported it to gtk2, that needed te be gconf2. But why cant that be used normally? in gnome_config i did: value = gnome_config_get_string(key); and now i should use GconfValues, GconfValueTypes and stuff? why? why cant i just read my configs? And, also a weird thing, when you use a GconfValue, there is no way to tell gconf2 wich item you want...

can someone give me an example of how it should work? My idea is to create an inline function:

static inline const gchar * get_conf_string (const gchar *name)
{
 //code to get
}

but how? can someone help me?




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