Fix typo and use the right function to get the system installation

tingping/wmclass
Mario Sanchez Prada 2016-09-16 00:04:34 +00:00
parent cf47870ea6
commit 0f005e7939
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ flatpak_complete_document_list (FlatpakCompletion *completion)
}
}
system_dir = flatpak_dir_get_user ();
system_dir = flatpak_dir_get_system ();
{
g_auto(GStrv) refs = flatpak_dir_find_installed_refs (system_dir, NULL, NULL, NULL,
TRUE, FALSE, &error);