From 0fb43660a32732d01204c1b66d25c84e4d73b2e3 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 18 Sep 2001 22:50:30 +0000 Subject: (mixgtk_config_remove) new function to remove configuration items --- mixgtk/mixgtk_config.c | 8 +++++++- mixgtk/mixgtk_config.h | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/mixgtk/mixgtk_config.c b/mixgtk/mixgtk_config.c index 052dea5..0dad33e 100644 --- a/mixgtk/mixgtk_config.c +++ b/mixgtk/mixgtk_config.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mixgtk_config.c : * Implementation of the functions declared in mixgtk_config.h * ------------------------------------------------------------------ - * Last change: Time-stamp: "2001-04-29 14:53:06 jao" + * $Id: mixgtk_config.c,v 1.7 2001/09/18 22:50:30 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2001 Free Software Foundation, Inc. * @@ -87,6 +87,12 @@ mixgtk_config_get (const gchar *key) return mix_config_get (config_, key); } +void +mixgtk_config_remove (const char *key) +{ + mix_config_remove (config_, key); +} + /* save configuration */ void mixgtk_config_save (void) diff --git a/mixgtk/mixgtk_config.h b/mixgtk/mixgtk_config.h index 7b58cda..ee09045 100644 --- a/mixgtk/mixgtk_config.h +++ b/mixgtk/mixgtk_config.h @@ -1,7 +1,7 @@ /* -*-c-*- ---------------- mixgtk_config.h : * Configuration functions declarations. * ------------------------------------------------------------------ - * Last change: Time-stamp: <2001-04-29 12:07:11 jao> + * $Id: mixgtk_config.h,v 1.5 2001/09/18 22:50:30 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2001 Free Software Foundation, Inc. * @@ -51,6 +51,10 @@ mixgtk_config_update (const gchar *key, const gchar *value); extern const gchar * mixgtk_config_get (const gchar *key); +/* remove config item */ +extern void +mixgtk_config_remove (const gchar *key); + /* save configuration */ extern void mixgtk_config_save (void); -- cgit v1.2.3