From c8f84d6a92ee7c6afe792e841e7ec72a714ceeef Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Mon, 2 Jan 2006 17:56:04 +0000 Subject: [PATCH] Added remove --- gnoemoe/gm-options.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gnoemoe/gm-options.h b/gnoemoe/gm-options.h index 14c9fbc..349d25d 100644 --- a/gnoemoe/gm-options.h +++ b/gnoemoe/gm-options.h @@ -47,22 +47,22 @@ struct _GmOptionsClass { GObjectClass parent_class; /* Signals */ - void (* option_changed) (GmOptions *options, const gchar *key); + void (* option_changed) (GmOptions *options, gchar const *key); }; GType gm_options_get_type(void) G_GNUC_CONST; GmOptions *gm_options_new(void); GmOptions *gm_options_dup(GmOptions *source); -void gm_options_add(GmOptions *options, const gchar *key, const gchar *value); -void gm_options_set(GmOptions *options, const gchar *key, const gchar *value); -const gchar *gm_options_get(GmOptions *options, const gchar *key); -void gm_options_set_int(GmOptions *options, const gchar *key, int value); -int gm_options_get_int(GmOptions *options, const gchar *key); +void gm_options_set(GmOptions *options, gchar const *key, gchar const *value); +gchar const *gm_options_get(GmOptions *options, gchar const *key); +void gm_options_set_int(GmOptions *options, gchar const *key, int value); +int gm_options_get_int(GmOptions *options, gchar const *key); +void gm_options_remove(GmOptions *options, gchar const *key); void gm_options_save(GmOptions *options); -void gm_options_save_as(GmOptions *options, const gchar *filename); -void gm_options_load(GmOptions *options, const gchar *filename); +void gm_options_save_as(GmOptions *options, gchar const *filename); +void gm_options_load(GmOptions *options, gchar const *filename); G_END_DECLS