[gnome-commander/gvfs_mount] noop: Remove comments
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gvfs_mount] noop: Remove comments
- Date: Wed, 16 Jun 2021 21:20:52 +0000 (UTC)
commit a42e5335044ab58defe0beadb45c87f64a62b093
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Jun 16 22:05:01 2021 +0200
noop: Remove comments
src/gnome-cmd-dir.h | 23 -----------------------
1 file changed, 23 deletions(-)
---
diff --git a/src/gnome-cmd-dir.h b/src/gnome-cmd-dir.h
index ca076fb08..22ae1c9a0 100644
--- a/src/gnome-cmd-dir.h
+++ b/src/gnome-cmd-dir.h
@@ -94,37 +94,14 @@ GnomeCmdDir *gnome_cmd_dir_get_child (GnomeCmdDir *dir, const gchar *child);
GnomeCmdCon *gnome_cmd_dir_get_connection (GnomeCmdDir *dir);
Handle *gnome_cmd_dir_get_handle (GnomeCmdDir *dir);
-//inline GnomeCmdFile *gnome_cmd_dir_new_parent_dir_file (GnomeCmdDir *dir)
-//{
-// GnomeVFSFileInfo *info = gnome_vfs_file_info_new ();
-//
-// memset (info, '\0', sizeof (GnomeVFSFileInfo));
-// info->name = g_strdup ("..");
-// info->type = GNOME_VFS_FILE_TYPE_DIRECTORY;
-// info->mime_type = g_strdup ("x-directory/normal");
-// info->size = 0;
-// info->refcount = 1;
-// info->valid_fields = (GnomeVFSFileInfoFields) (GNOME_VFS_FILE_INFO_FIELDS_TYPE |
-// GNOME_VFS_FILE_INFO_FIELDS_SIZE |
-// GNOME_VFS_FILE_INFO_FIELDS_MIME_TYPE);
-//
-// return gnome_cmd_file_new (info, dir);
-//}
-//
inline GnomeCmdFile *gnome_cmd_dir_new_parent_dir_file (GnomeCmdDir *dir)
{
auto info = g_file_info_new ();
- //memset (info, '\0', sizeof (GFileInfo));
g_file_info_set_name(info, "..");
g_file_info_set_display_name(info, "..");
g_file_info_set_file_type(info, G_FILE_TYPE_DIRECTORY);
- //info->mime_type = g_strdup ("x-directory/normal");
g_file_info_set_size(info, 0);
- //info->refcount = 1;
- //info->valid_fields = (GnomeVFSFileInfoFields) (GNOME_VFS_FILE_INFO_FIELDS_TYPE |
- // GNOME_VFS_FILE_INFO_FIELDS_SIZE |
- // GNOME_VFS_FILE_INFO_FIELDS_MIME_TYPE);
return gnome_cmd_file_new (info, dir);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]