mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-26 17:16:53 +02:00
gdesktopappinfo: Fix copy/paste typo from e24e89b
Commit e24e89b accidentally ironically introduced a typo when replacing the code with symbolic contents. Specifically, "Added Associations" was replaced with "Default Applications" when reading defaults.list, giving a warning about the file containing a "Default Applications" group. If this was intended, it should have not been lumped in with a cleanup.
This commit is contained in:
parent
e054bbfe16
commit
5a0a85e444
@ -897,7 +897,7 @@ desktop_file_dir_unindexed_read_mimeapps_lists (DesktopFileDir *dir)
|
|||||||
* version.
|
* version.
|
||||||
*/
|
*/
|
||||||
filename = g_strdup_printf ("%s/defaults.list", dir->path);
|
filename = g_strdup_printf ("%s/defaults.list", dir->path);
|
||||||
desktop_file_dir_unindexed_read_mimeapps_list (dir, filename, DEFAULT_APPLICATIONS_GROUP, FALSE);
|
desktop_file_dir_unindexed_read_mimeapps_list (dir, filename, ADDED_ASSOCIATIONS_GROUP, FALSE);
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
|
|
||||||
/* Finally, the mimeinfo.cache, which is just a cached copy of what we
|
/* Finally, the mimeinfo.cache, which is just a cached copy of what we
|
||||||
|
Loading…
x
Reference in New Issue
Block a user