[gnome-commander] Finally removing the usage of GnomeVFSFileInfo



commit ec93dcb7c304c8b45ecc9c18ca3ec833bf248601
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Jul 11 23:31:28 2021 +0200

    Finally removing the usage of GnomeVFSFileInfo

 src/gnome-cmd-file.cc | 2 --
 src/gnome-cmd-file.h  | 1 -
 2 files changed, 3 deletions(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index 048ab5f4..01ad8e97 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -108,8 +108,6 @@ static void gnome_cmd_file_finalize (GObject *object)
         DEBUG ('f', "file destroying %p %s\n", f, g_file_info_get_display_name(f->gFileInfo));
 
     g_free (f->collate_key);
-    if (f->info)
-        gnome_vfs_file_info_unref (f->info);
     g_object_unref(f->gFileInfo);
     if (f->priv->dir_handle)
         handle_unref (f->priv->dir_handle);
diff --git a/src/gnome-cmd-file.h b/src/gnome-cmd-file.h
index 831d07dd..1d300e69 100644
--- a/src/gnome-cmd-file.h
+++ b/src/gnome-cmd-file.h
@@ -45,7 +45,6 @@ struct GnomeCmdFile
 
     Private *priv;
 
-    GnomeVFSFileInfo *info;
     GFile *gFile;
     GFileInfo *gFileInfo;
     gboolean is_dotdot;


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