diff options
author | Ryan Lortie <desrt@desrt.ca> | 2010-07-18 23:23:54 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2010-07-18 23:23:54 -0400 |
commit | 67cb6fa67a608ba5b778e6e0bba9578a0a6ab075 (patch) | |
tree | a168ebcf2cf2291a903ae77c9af1c88c2bca1966 /tests/paths.c | |
parent | 4c375030eb6254b757b6fa1bba6dbd0c5d69774f (diff) | |
download | dconf-67cb6fa67a608ba5b778e6e0bba9578a0a6ab075.tar.gz |
assorted client API cleanups, vala port of 'dconf'
Diffstat (limited to 'tests/paths.c')
-rw-r--r-- | tests/paths.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/paths.c b/tests/paths.c index 0b6b0ce..a95530e 100644 --- a/tests/paths.c +++ b/tests/paths.c @@ -75,12 +75,12 @@ test_paths (void) const gchar *string = cases[i].string; guint flags; - flags = (dconf_is_path (string) ? 001 : 000) | - (dconf_is_key (string) ? 002 : 000) | - (dconf_is_dir (string) ? 004 : 000) | - (dconf_is_rel (string) ? 010 : 000) | - (dconf_is_rel_key (string) ? 020 : 000) | - (dconf_is_rel_dir (string) ? 040 : 000); + flags = (dconf_is_path (string, NULL) ? 001 : 000) | + (dconf_is_key (string, NULL) ? 002 : 000) | + (dconf_is_dir (string, NULL) ? 004 : 000) | + (dconf_is_rel (string, NULL) ? 010 : 000) | + (dconf_is_rel_key (string, NULL) ? 020 : 000) | + (dconf_is_rel_dir (string, NULL) ? 040 : 000); if (flags != cases[i].flags) { |