[gimp] app: Request G_FILE_ATTRIBUTE_STANDARD_NAME when reading directories
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Request G_FILE_ATTRIBUTE_STANDARD_NAME when reading directories
- Date: Tue, 22 Jul 2014 02:40:28 +0000 (UTC)
commit 880299bd7255af5d8c34736f12e67a76a1360842
Author: Michael Henning <drawoc darkrefraction com>
Date: Mon Jul 21 22:30:00 2014 -0400
app: Request G_FILE_ATTRIBUTE_STANDARD_NAME when reading directories
g_file_enumerator_get_child needs it, and it's not available by default
on windows. See https://bugzilla.gnome.org/show_bug.cgi?id=733528
app/gui/themes.c | 1 +
app/plug-in/gimpenvirontable.c | 1 +
app/plug-in/gimpinterpreterdb.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/gui/themes.c b/app/gui/themes.c
index a0407a4..6c10406 100644
--- a/app/gui/themes.c
+++ b/app/gui/themes.c
@@ -85,6 +85,7 @@ themes_init (Gimp *gimp)
enumerator =
g_file_enumerate_children (dir,
+ G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
G_FILE_ATTRIBUTE_STANDARD_TYPE,
G_FILE_QUERY_INFO_NONE,
diff --git a/app/plug-in/gimpenvirontable.c b/app/plug-in/gimpenvirontable.c
index bd0b5fa..4a37503 100644
--- a/app/plug-in/gimpenvirontable.c
+++ b/app/plug-in/gimpenvirontable.c
@@ -157,6 +157,7 @@ gimp_environ_table_load (GimpEnvironTable *environ_table,
enumerator =
g_file_enumerate_children (dir,
+ G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
G_FILE_ATTRIBUTE_STANDARD_TYPE,
G_FILE_QUERY_INFO_NONE,
diff --git a/app/plug-in/gimpinterpreterdb.c b/app/plug-in/gimpinterpreterdb.c
index ce48001..12cf2c3 100644
--- a/app/plug-in/gimpinterpreterdb.c
+++ b/app/plug-in/gimpinterpreterdb.c
@@ -168,6 +168,7 @@ gimp_interpreter_db_load (GimpInterpreterDB *db,
enumerator =
g_file_enumerate_children (dir,
+ G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
G_FILE_ATTRIBUTE_STANDARD_TYPE,
G_FILE_QUERY_INFO_NONE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]