[glib] tests: use mimeapps.list over defaults.list
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests: use mimeapps.list over defaults.list
- Date: Tue, 15 Apr 2014 15:37:21 +0000 (UTC)
commit 9a5e85c078d5f624d24b24f34cff287a0d6354c5
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Apr 10 12:00:40 2014 -0400
tests: use mimeapps.list over defaults.list
defaults.list is deprecated, so use mimeapps.list as a filename instead.
https://bugzilla.gnome.org/show_bug.cgi?id=728040
gio/tests/mimeapps.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/tests/mimeapps.c b/gio/tests/mimeapps.c
index b5819d3..8a9722f 100644
--- a/gio/tests/mimeapps.c
+++ b/gio/tests/mimeapps.c
@@ -96,7 +96,7 @@ const gchar *mimecache_data =
"image/png=myapp3.desktop;\n";
/* Set up XDG_DATA_HOME and XDG_DATA_DIRS.
- * XDG_DATA_DIRS/applications will contain defaults.list
+ * XDG_DATA_DIRS/applications will contain mimeapps.list
* XDG_DATA_HOME/applications will contain myapp.desktop
* and myapp2.desktop, and no mimeapps.list
*/
@@ -130,7 +130,7 @@ setup (void)
res = g_mkdir_with_parents (appdir, 0700);
g_assert (res == 0);
- name = g_build_filename (appdir, "defaults.list", NULL);
+ name = g_build_filename (appdir, "mimeapps.list", NULL);
g_test_message ("creating '%s'\n", name);
g_file_set_contents (name, defaults_data, -1, &error);
g_assert_no_error (error);
@@ -411,7 +411,7 @@ test_mime_file (void)
g_free (dir);
}
-/* test interaction between defaults.list and mimeapps.list */
+/* test interaction between mimeapps.list at different levels */
static void
test_mime_default (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]