Top | ![]() |
![]() |
![]() |
![]() |
gboolean gok_gconf_get_int (GConfClient *client
,const gchar *key
,gint *dest
);
Retrieves the requested key and stores it in the given dest. If an error occurs during retreiving the key a message is logged using gok_log_x and dest is left unchanged.
gboolean gok_gconf_set_int (GConfClient *client
,const gchar *key
,gint value
);
Stores the given (key, value) pair if it is different from what is in GConf already. If an error occurs during storing the key a message is logged using gok_log_x.
gboolean gok_gconf_get_bool (GConfClient *client
,const gchar *key
,gboolean *dest
);
Retrieves the requested key and stores it in the given dest. If an error occurs during retreiving the key a message is logged using gok_log_x and dest is left unchanged.
gboolean gok_gconf_set_bool (GConfClient *client
,const gchar *key
,gboolean value
);
Stores the given (key, value) pair if it is different from what is in GConf already. If an error occurs during storing the key a message is logged using gok_log_x.
gboolean gok_gconf_get_string (GConfClient *client
,const gchar *key
,gchar **dest
);
Retrieves the requested key and stores it in the given dest. If an error occurs during retreiving the key a message is logged using gok_log_x and dest is left unchanged.
NOTE: *dest needs to be freed when finished with.