summaryrefslogtreecommitdiff
path: root/bin/dconf.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-05-28 00:05:58 -0400
committerRyan Lortie <desrt@desrt.ca>2010-05-28 01:07:52 -0400
commit5369692701dc4d3194dddb356e6d11517d6aa4a2 (patch)
tree8c41605eaa30fe68254a23bf9859dda910f1949c /bin/dconf.c
parentbc8fc387de46380ee5a57d8d877b4ec722eb742b (diff)
downloaddconf-5369692701dc4d3194dddb356e6d11517d6aa4a2.tar.gz
simplify API, add gobject-introspection
Diffstat (limited to 'bin/dconf.c')
-rw-r--r--bin/dconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dconf.c b/bin/dconf.c
index e6eea16..4cdde3e 100644
--- a/bin/dconf.c
+++ b/bin/dconf.c
@@ -122,7 +122,7 @@ do_sync_command (DConfClient *client,
if (!ensure ("key", key, dconf_is_key, error))
return FALSE;
- value = dconf_client_read (client, key, DCONF_READ_NORMAL);
+ value = dconf_client_read (client, key);
if (value == NULL)
return TRUE;
@@ -170,7 +170,7 @@ do_sync_command (DConfClient *client,
if (!ensure ("dir", dir, dconf_is_dir, error))
return FALSE;
- list = dconf_client_list (client, dir, NULL, NULL);
+ list = dconf_client_list (client, dir, NULL);
while (*list)
g_print ("%s\n", *list++);