[nautilus: 1/2] general: remove unused file attributes
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus: 1/2] general: remove unused file attributes
- Date: Tue, 16 Jan 2018 12:19:10 +0000 (UTC)
commit 98e8242897a28886e1802bccb447374b81c16ae5
Author: Ernestas Kulik <ernestask gnome org>
Date: Tue Jan 16 12:59:52 2018 +0200
general: remove unused file attributes
This removes things missed in 67fdde6a9ff2dcbe3ae25fa3e259e77a4951cc46.
src/nautilus-directory-async.c | 8 --------
src/nautilus-directory-private.h | 1 -
src/nautilus-file-attributes.h | 10 ++++------
3 files changed, 4 insertions(+), 15 deletions(-)
---
diff --git a/src/nautilus-directory-async.c b/src/nautilus-directory-async.c
index e44d1a8e0..58998c870 100644
--- a/src/nautilus-directory-async.c
+++ b/src/nautilus-directory-async.c
@@ -47,14 +47,6 @@
/* Keep async. jobs down to this number for all directories. */
#define MAX_ASYNC_JOBS 10
-struct TopLeftTextReadState
-{
- NautilusDirectory *directory;
- NautilusFile *file;
- gboolean large;
- GCancellable *cancellable;
-};
-
struct LinkInfoReadState
{
NautilusDirectory *directory;
diff --git a/src/nautilus-directory-private.h b/src/nautilus-directory-private.h
index dae1b96ce..a7d8c7a8e 100644
--- a/src/nautilus-directory-private.h
+++ b/src/nautilus-directory-private.h
@@ -29,7 +29,6 @@
#include <libxml/tree.h>
typedef struct LinkInfoReadState LinkInfoReadState;
-typedef struct TopLeftTextReadState TopLeftTextReadState;
typedef struct FileMonitors FileMonitors;
typedef struct DirectoryLoadState DirectoryLoadState;
typedef struct DirectoryCountState DirectoryCountState;
diff --git a/src/nautilus-file-attributes.h b/src/nautilus-file-attributes.h
index 281de9384..13002dc19 100644
--- a/src/nautilus-file-attributes.h
+++ b/src/nautilus-file-attributes.h
@@ -32,12 +32,10 @@ typedef enum {
NAUTILUS_FILE_ATTRIBUTE_DEEP_COUNTS = 1 << 2,
NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_COUNT = 1 << 3,
NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_MIME_TYPES = 1 << 4,
- NAUTILUS_FILE_ATTRIBUTE_TOP_LEFT_TEXT = 1 << 5,
- NAUTILUS_FILE_ATTRIBUTE_LARGE_TOP_LEFT_TEXT = 1 << 6,
- NAUTILUS_FILE_ATTRIBUTE_EXTENSION_INFO = 1 << 7,
- NAUTILUS_FILE_ATTRIBUTE_THUMBNAIL = 1 << 8,
- NAUTILUS_FILE_ATTRIBUTE_MOUNT = 1 << 9,
- NAUTILUS_FILE_ATTRIBUTE_FILESYSTEM_INFO = 1 << 10,
+ NAUTILUS_FILE_ATTRIBUTE_EXTENSION_INFO = 1 << 5,
+ NAUTILUS_FILE_ATTRIBUTE_THUMBNAIL = 1 << 6,
+ NAUTILUS_FILE_ATTRIBUTE_MOUNT = 1 << 7,
+ NAUTILUS_FILE_ATTRIBUTE_FILESYSTEM_INFO = 1 << 8,
} NautilusFileAttributes;
#endif /* NAUTILUS_FILE_ATTRIBUTES_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]