summaryrefslogtreecommitdiff
path: root/gconf/gconf-client.h
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2000-07-24 23:43:25 +0000
committerGeorge Lebl <jirka@src.gnome.org>2000-07-24 23:43:25 +0000
commit377edb91b0af687f6ae5784d94bc2320b8f38d44 (patch)
treedc27ef3f5a1922352e62f70c02f0bcd059e7c9d6 /gconf/gconf-client.h
parenta42fa312c9a9d5c891de8be468fe8ffc67decfc6 (diff)
downloadgconf-377edb91b0af687f6ae5784d94bc2320b8f38d44.tar.gz
Allow adding overlapping subdirectories. What happens is that the real
Mon Jul 24 16:39:01 2000 George Lebl <jirka@5z.com> * wrappers/gtk/gconf-client.[ch]: Allow adding overlapping subdirectories. What happens is that the real gconf notify is not added for subdirectories. When directories are added or removed the hash is traversed and fixed up. This is done in a simple and incredibly inefficent manner and needs to be fixed. Also this change adds an "err" argument to the _remove_dir call as errors can now happen. Also fix a minor warning by casting. * wrappers/gtk/testgconfclient.c: Add some testing of overlapping directories. Add buttons to add/remove the main directory and the subdirectory. This way you can see if things get proper notifications.
Diffstat (limited to 'gconf/gconf-client.h')
-rw-r--r--gconf/gconf-client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gconf/gconf-client.h b/gconf/gconf-client.h
index 6d6d46fd..9c1485b6 100644
--- a/gconf/gconf-client.h
+++ b/gconf/gconf-client.h
@@ -163,7 +163,8 @@ void gconf_client_add_dir (GConfClient* client,
/* This removes any notifications associated with the dir */
void gconf_client_remove_dir (GConfClient* client,
- const gchar* dir);
+ const gchar* dir,
+ GConfError** err);
/*
* The notification facility allows you to attach a callback to a single