gconf-changeset

gconf-changeset

Functions

Types and Values

Description

Functions

GConfChangeSetForeachFunc ()

void
(*GConfChangeSetForeachFunc) (GConfChangeSet *cs,
                              const gchar *key,
                              GConfValue *value,
                              gpointer user_data);

gconf_engine_commit_change_set ()

gboolean
gconf_engine_commit_change_set (GConfEngine *conf,
                                GConfChangeSet *cs);

gconf_engine_reverse_change_set ()

GConfChangeSet *
gconf_engine_reverse_change_set (GConfEngine *conf,
                                 GConfChangeSet *cs,
                                 GError **err);

gconf_engine_change_set_from_currentv ()

GConfChangeSet *
gconf_engine_change_set_from_currentv (GConfEngine *conf,
                                       const gchar **keys,
                                       GError **err);

gconf_engine_change_set_from_current ()

GConfChangeSet *
gconf_engine_change_set_from_current (GConfEngine *conf,
                                      GError **err,
                                      const gchar *first_key,
                                      ...);

gconf_change_set_new ()

GConfChangeSet *
gconf_change_set_new (void);

gconf_change_set_ref ()

GConfChangeSet *
gconf_change_set_ref (GConfChangeSet *cs);

gconf_change_set_unref ()

void
gconf_change_set_unref (GConfChangeSet *cs);

gconf_change_set_clear ()

void
gconf_change_set_clear (GConfChangeSet *cs);

gconf_change_set_size ()

guint
gconf_change_set_size (GConfChangeSet *cs);

gconf_change_set_remove ()

void
gconf_change_set_remove (GConfChangeSet *cs,
                         const gchar *key);

gconf_change_set_foreach ()

void
gconf_change_set_foreach (GConfChangeSet *cs,
                          GConfChangeSetForeachFunc func,
                          gpointer user_data);

Iterates over a GConfChangeSet by calling a GConfChangeSetForeachFunc for each change in the set. See the description of GConfChangeSetForeachFunc for details. You may not call gconf_change_set_remove() during the iteration, because you'll confuse the internal data structures and cause memory corruption.

Parameters

cs

a GConfChangeSet.

 

func

function to call for each change in the change set.

[scope call]

user_data

user data to pass to the GConfChangeSetForeachFunc.

 

gconf_change_set_check_value ()

gboolean
gconf_change_set_check_value (GConfChangeSet *cs,
                              const gchar *key,
                              GConfValue **value_retloc);

gconf_change_set_set ()

void
gconf_change_set_set (GConfChangeSet *cs,
                      const gchar *key,
                      GConfValue *value);

gconf_change_set_set_nocopy ()

void
gconf_change_set_set_nocopy (GConfChangeSet *cs,
                             const gchar *key,
                             GConfValue *value);

gconf_change_set_unset ()

void
gconf_change_set_unset (GConfChangeSet *cs,
                        const gchar *key);

gconf_change_set_set_float ()

void
gconf_change_set_set_float (GConfChangeSet *cs,
                            const gchar *key,
                            gdouble val);

gconf_change_set_set_int ()

void
gconf_change_set_set_int (GConfChangeSet *cs,
                          const gchar *key,
                          gint val);

gconf_change_set_set_string ()

void
gconf_change_set_set_string (GConfChangeSet *cs,
                             const gchar *key,
                             const gchar *val);

gconf_change_set_set_bool ()

void
gconf_change_set_set_bool (GConfChangeSet *cs,
                           const gchar *key,
                           gboolean val);

gconf_change_set_set_schema ()

void
gconf_change_set_set_schema (GConfChangeSet *cs,
                             const gchar *key,
                             GConfSchema *val);

gconf_change_set_set_list ()

void
gconf_change_set_set_list (GConfChangeSet *cs,
                           const gchar *key,
                           GConfValueType list_type,
                           GSList *list);

gconf_change_set_set_pair ()

void
gconf_change_set_set_pair (GConfChangeSet *cs,
                           const gchar *key,
                           GConfValueType car_type,
                           GConfValueType cdr_type,
                           gconstpointer address_of_car,
                           gconstpointer address_of_cdr);

gconf_change_set_set_user_data ()

void
gconf_change_set_set_user_data (GConfChangeSet *cs,
                                gpointer data,
                                GDestroyNotify dnotify);

Sets the user_data and the destroy notification function fields of the GConfChangeSet.

[skip]

Parameters

cs

a GConfChangeSet.

 

data

a gpointer.

 

dnotify

a pointer to the function to be called during destroy.

 

gconf_change_set_get_user_data ()

gpointer
gconf_change_set_get_user_data (GConfChangeSet *cs);

Returns the user_data field of the GConfChangeSet.

[skip]

Parameters

cs

a GConfChangeSet.

 

Returns

a pointer to the user_data.

Types and Values

GConfChangeSet

typedef struct _GConfChangeSet GConfChangeSet;