diff options
author | Allison Ryan Lortie <desrt@desrt.ca> | 2015-11-30 14:46:12 -0500 |
---|---|---|
committer | Allison Ryan Lortie <desrt@desrt.ca> | 2015-11-30 14:59:10 -0500 |
commit | 768ed4bbe040c53ee5010038c34aec7c69dba0a5 (patch) | |
tree | ba0de89dbcc757b9f3c85cf301ae2f1e2dacf197 /tests | |
parent | 014d634529f2a88ff638834dbbe827f6bb82aa16 (diff) | |
download | dconf-768ed4bbe040c53ee5010038c34aec7c69dba0a5.tar.gz |
engine, client: add list_locks() operation
Add an API to dconf-engine (and exposed via DConfClient) for getting a
list of locks that are present in a given dconf profile.
https://bugzilla.gnome.org/show_bug.cgi?id=758864
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dconf-mock-gvdb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dconf-mock-gvdb.c b/tests/dconf-mock-gvdb.c index a922a49..4f58de1 100644 --- a/tests/dconf-mock-gvdb.c +++ b/tests/dconf-mock-gvdb.c @@ -168,6 +168,16 @@ gvdb_table_list (GvdbTable *table, return g_strdupv ((gchar **) result); } +gchar ** +gvdb_table_get_names (GvdbTable *table, + gint *length) +{ + if (length) + *length = 0; + + return g_new0 (gchar *, 0 + 1); +} + GvdbTable * gvdb_table_new (const gchar *filename, gboolean trusted, |