[gnome-builder] gui: fix enum for g_file_query_info()



commit 1ecbfbff13128e962acc53e5f4a2cf2bb26d1fc7
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 25 17:53:02 2019 -0800

    gui: fix enum for g_file_query_info()

 src/libide/gui/ide-workbench.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-workbench.c b/src/libide/gui/ide-workbench.c
index a5704a41f..cd2ce6fc3 100644
--- a/src/libide/gui/ide-workbench.c
+++ b/src/libide/gui/ide-workbench.c
@@ -1172,7 +1172,7 @@ ide_workbench_load_project_async (IdeWorkbench        *self,
     }
   else
     {
-      if (g_file_query_file_type (file, G_FILE_COPY_NOFOLLOW_SYMLINKS, NULL) == G_FILE_TYPE_DIRECTORY)
+      if (g_file_query_file_type (file, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL) == G_FILE_TYPE_DIRECTORY)
         {
           ide_context_set_workdir (self->context, file);
           directory = file;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]