summaryrefslogtreecommitdiff
path: root/src/nautilus-icon-info.h
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-05-18 14:24:11 +0300
committerCarlos Soriano <csoriano1618@gmail.com>2018-05-18 14:39:26 +0000
commite686c29779ec8505da6e2550763d369f2c829890 (patch)
tree819bb80112ef92d83c9a0d1005c09b47cb9a903d /src/nautilus-icon-info.h
parent7696d69dcb0c47f48d145564cda1921f09705010 (diff)
downloadnautilus-e686c29779ec8505da6e2550763d369f2c829890.tar.gz
general: Clean up headers and their inclusions
This commit removes redundant header inclusions and tries to optimize headers by using forward declarations of types in headers. Such optimization should generally make builds speedier in that changes in certain headers will not cause unrelated sources to be rebuilt.
Diffstat (limited to 'src/nautilus-icon-info.h')
-rw-r--r--src/nautilus-icon-info.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/nautilus-icon-info.h b/src/nautilus-icon-info.h
index e4f40ba67..506acecde 100644
--- a/src/nautilus-icon-info.h
+++ b/src/nautilus-icon-info.h
@@ -8,41 +8,9 @@
G_BEGIN_DECLS
-/* Names for Nautilus's different zoom levels, from tiniest items to largest items */
-typedef enum {
- NAUTILUS_CANVAS_ZOOM_LEVEL_SMALL,
- NAUTILUS_CANVAS_ZOOM_LEVEL_STANDARD,
- NAUTILUS_CANVAS_ZOOM_LEVEL_LARGE,
- NAUTILUS_CANVAS_ZOOM_LEVEL_LARGER,
- NAUTILUS_CANVAS_ZOOM_LEVEL_LARGEST,
-} NautilusCanvasZoomLevel;
-
-typedef enum {
- NAUTILUS_LIST_ZOOM_LEVEL_SMALL,
- NAUTILUS_LIST_ZOOM_LEVEL_STANDARD,
- NAUTILUS_LIST_ZOOM_LEVEL_LARGE,
- NAUTILUS_LIST_ZOOM_LEVEL_LARGER,
-} NautilusListZoomLevel;
-
#define NAUTILUS_LIST_ZOOM_LEVEL_N_ENTRIES (NAUTILUS_LIST_ZOOM_LEVEL_LARGER + 1)
#define NAUTILUS_CANVAS_ZOOM_LEVEL_N_ENTRIES (NAUTILUS_CANVAS_ZOOM_LEVEL_LARGEST + 1)
-/* Nominal icon sizes for each Nautilus zoom level.
- * This scheme assumes that icons are designed to
- * fit in a square space, though each image needn't
- * be square.
- */
-#define NAUTILUS_LIST_ICON_SIZE_SMALL 16
-#define NAUTILUS_LIST_ICON_SIZE_STANDARD 32
-#define NAUTILUS_LIST_ICON_SIZE_LARGE 48
-#define NAUTILUS_LIST_ICON_SIZE_LARGER 64
-
-#define NAUTILUS_CANVAS_ICON_SIZE_SMALL 48
-#define NAUTILUS_CANVAS_ICON_SIZE_STANDARD 64
-#define NAUTILUS_CANVAS_ICON_SIZE_LARGE 96
-#define NAUTILUS_CANVAS_ICON_SIZE_LARGER 128
-#define NAUTILUS_CANVAS_ICON_SIZE_LARGEST 256
-
/* Maximum size of an icon that the icon factory will ever produce */
#define NAUTILUS_ICON_MAXIMUM_SIZE 320