diff options
author | Vincent Untz <vuntz@gnome.org> | 2010-04-15 22:01:07 -0400 |
---|---|---|
committer | Vincent Untz <vuntz@gnome.org> | 2010-04-15 22:21:05 -0400 |
commit | e28f5a55b0778f552dbfc5bb0b599ad2fa8d8a84 (patch) | |
tree | a6433f7ea5e467e6cf5e915b92a7a472b2bba6ff | |
parent | dd19563fe3dbef469b09e1f431653d5a9fb1e8b6 (diff) | |
download | gconf-e28f5a55b0778f552dbfc5bb0b599ad2fa8d8a84.tar.gz |
[gsettings] Improve comments
-rw-r--r-- | gsettings/gconfsettingsbackend.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gsettings/gconfsettingsbackend.c b/gsettings/gconfsettingsbackend.c index 0d32705a..70eff7d0 100644 --- a/gsettings/gconfsettingsbackend.c +++ b/gsettings/gconfsettingsbackend.c @@ -538,7 +538,8 @@ gconf_settings_backend_get_writable (GSettingsBackend *backend, { GConfSettingsBackend *gconf = GCONF_SETTINGS_BACKEND (backend); - /* we don't support checking writabality for a whole subpath */ + /* We don't support checking writabality for a whole subpath, so we just say + * it's not writable in such a case. */ if (name[strlen(name) - 1] == '/') return FALSE; @@ -548,7 +549,8 @@ gconf_settings_backend_get_writable (GSettingsBackend *backend, static char * gconf_settings_backend_get_gconf_path_from_name (const gchar *name) { - /* Note: we don't want trailing slash */ + /* We don't want trailing slash since gconf directories shouldn't have a + * trailing slash. */ if (name[strlen(name) - 1] != '/') { const gchar *slash; |