summaryrefslogtreecommitdiffhomepage
path: root/mixgtk
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-09-18 22:50:30 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-09-18 22:50:30 +0000
commit7291ebf936eba157a7c0149d7ae8fc3ee0f33e10 (patch)
tree69d31a1b8cf245f7d2e460f58f3a548ad0e85ca1 /mixgtk
parent26df59d07ce82109b1f2c6efd1464835b330e1b3 (diff)
downloadmdk-7291ebf936eba157a7c0149d7ae8fc3ee0f33e10.tar.gz
mdk-7291ebf936eba157a7c0149d7ae8fc3ee0f33e10.tar.bz2
(mixgtk_config_remove) new function to remove configuration items
Diffstat (limited to 'mixgtk')
-rw-r--r--mixgtk/mixgtk_config.c8
-rw-r--r--mixgtk/mixgtk_config.h6
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);