[gnome-commander] noop: Move definition of infoOpts down



commit fa421539932822c05d2c4ddf58b70843e14a0a71
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Thu Jun 10 22:15:12 2021 +0200

    noop: Move definition of infoOpts down

 src/gnome-cmd-con-device.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-con-device.cc b/src/gnome-cmd-con-device.cc
index a3d05fbde..3475f635c 100644
--- a/src/gnome-cmd-con-device.cc
+++ b/src/gnome-cmd-con-device.cc
@@ -94,7 +94,6 @@ static void do_mount_thread_func (GnomeCmdCon *con)
     g_return_if_fail (GNOME_CMD_IS_CON_DEVICE (con));
 
     gint ret, estatus;
-    GnomeVFSFileInfoOptions infoOpts = (GnomeVFSFileInfoOptions) (GNOME_VFS_FILE_INFO_FOLLOW_LINKS | 
GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE);
 
     if (!is_mounted (con))
     {
@@ -150,6 +149,7 @@ static void do_mount_thread_func (GnomeCmdCon *con)
 
     gchar *uri_str = gnome_vfs_uri_to_string (uri, GNOME_VFS_URI_HIDE_PASSWORD);
     con->base_info = gnome_vfs_file_info_new ();
+    GnomeVFSFileInfoOptions infoOpts = (GnomeVFSFileInfoOptions) (GNOME_VFS_FILE_INFO_FOLLOW_LINKS | 
GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE);
     GnomeVFSResult result = gnome_vfs_get_file_info_uri (uri, con->base_info, infoOpts);
 
     gnome_vfs_uri_unref (uri);


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