aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eel-gconf-extensions.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eel-gconf-extensions.c')
-rw-r--r--lib/eel-gconf-extensions.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/eel-gconf-extensions.c b/lib/eel-gconf-extensions.c
index 432b0d693..d34df9f0b 100644
--- a/lib/eel-gconf-extensions.c
+++ b/lib/eel-gconf-extensions.c
@@ -699,3 +699,27 @@ eel_gconf_set_path (const char *key,
g_free (tilde_path);
g_free (converted);
}
+
+void
+eel_gconf_unset_key (const char *key)
+{
+ GConfClient *client;
+ GError *error = NULL;
+
+ client = eel_gconf_client_get_global ();
+ g_return_if_fail (client != NULL);
+
+ gconf_client_unset (client, key, &error);
+ eel_gconf_handle_error (&error);
+}
+
+void
+eel_gconf_notify (const char *key)
+{
+ GConfClient *client;
+
+ client = eel_gconf_client_get_global ();
+ g_return_if_fail (client != NULL);
+
+ gconf_client_notify (client, key);
+}