Commit 78baa474 authored by David Zeuthen's avatar David Zeuthen
Browse files

Be more specific about what info we want when enumerating files


Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent 58f8c06c
......@@ -519,7 +519,7 @@ ensure_all_files (PolkitBackendActionPool *pool)
error = NULL;
e = g_file_enumerate_children (priv->directory,
"standard::*",
"standard::name",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
......
......@@ -319,7 +319,7 @@ polkit_backend_config_source_ensure (PolkitBackendConfigSource *source)
error = NULL;
enumerator = g_file_enumerate_children (source->priv->directory,
"standard::*",
"standard::name",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
......
......@@ -193,7 +193,7 @@ add_all_authorization_stores (PolkitBackendLocalAuthority *authority)
toplevel_directory = g_file_new_for_path (toplevel_path);
directory_enumerator = g_file_enumerate_children (toplevel_directory,
"standard::*",
"standard::name,standard::type",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
......
......@@ -549,7 +549,7 @@ polkit_backend_local_authorization_store_ensure (PolkitBackendLocalAuthorization
error = NULL;
enumerator = g_file_enumerate_children (store->priv->directory,
"standard::*",
"standard::name",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment