[glib] gdesktopappinfo: Fix copy/paste typo from e24e89b
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gdesktopappinfo: Fix copy/paste typo from e24e89b
- Date: Wed, 15 Oct 2014 02:18:01 +0000 (UTC)
commit 5a0a85e444f5f7d18e4d20fc0340afb58f732e5f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Oct 14 19:14:01 2014 -0700
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.
gio/gdesktopappinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 74f6acc..7bfc904 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -897,7 +897,7 @@ desktop_file_dir_unindexed_read_mimeapps_lists (DesktopFileDir *dir)
* version.
*/
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);
/* Finally, the mimeinfo.cache, which is just a cached copy of what we
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]