X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-conf.h;h=3899592094890dc0d04e1ddfdca52f464cc15e8d;hb=bab05fb4ddefb299db7a8b9d66a87fbeaa9af344;hp=16cf2754cf4b51134e05bdb85d0b02d51cc9bddd;hpb=434ec10090daec7d9d80c1f419b9113d15d58fd4;p=modest diff --git a/src/modest-conf.h b/src/modest-conf.h index 16cf275..3899592 100644 --- a/src/modest-conf.h +++ b/src/modest-conf.h @@ -27,8 +27,8 @@ struct _ModestConf { struct _ModestConfClass { GObjectClass parent_class; - /* insert signal callback declarations, eg. */ - /* void (* my_event) (ModestConf* obj); */ + + void (* key_changed) (ModestConf* self, const gchar *key, const gchar *new_value); }; @@ -55,7 +55,7 @@ GObject* modest_conf_new (void); /** * modest_conf_get_string: - * @self: self a ModestConf instance + * @self: a ModestConf instance * @key: the key of the value to retrieve * @err: a GError ptr, or NULL to ignore. * @@ -69,7 +69,7 @@ gchar* modest_conf_get_string (ModestConf* self, const gchar* key, GError /** * modest_conf_get_int: - * @self: self a ModestConf instance + * @self: a ModestConf instance * @key: the key of the value to retrieve * @err: a GError ptr, or NULL to ignore. * @@ -84,7 +84,7 @@ int modest_conf_get_int (ModestConf* self, const gchar* key, GError /** * modest_conf_get_bool: - * @self: self a ModestConf instance + * @self: a ModestConf instance * @key: the key of the value to retrieve * @err: a GError ptr, or NULL to ignore. * @@ -181,7 +181,7 @@ gboolean modest_conf_remove_key (ModestConf* self, const gchar* key, GError * * checks if the given key exists in the configuration system * - * Returns: TRUE if exists, FALSE otherwise. + * Returns: TRUE if it exists, FALSE otherwise. * @err gives details in case of error */ gboolean modest_conf_key_exists (ModestConf* self, const gchar* key, GError **err);