summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-12 01:41:09 +0200
committerraveit65 <[email protected]>2020-11-11 18:50:36 +0100
commit47babe69871cd65b2fb3ae2d9f97b5c31331a28f (patch)
treebe219a394b6812ae8368c748c8e98961ec1e56c5 /libcaja-private/caja-icon-container.c
parenta67e47448d5534302f0efe588942e761881f28bc (diff)
downloadcaja-47babe69871cd65b2fb3ae2d9f97b5c31331a28f.tar.bz2
caja-47babe69871cd65b2fb3ae2d9f97b5c31331a28f.tar.xz
Remove unused macros
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index b45d046f..d1084a71 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -68,8 +68,6 @@
*/
#define KEYBOARD_ICON_REVEAL_TIMEOUT 10
-#define CONTEXT_MENU_TIMEOUT_INTERVAL 500
-
/* Maximum amount of milliseconds the mouse button is allowed to stay down
* and still be considered a click.
*/
@@ -88,7 +86,6 @@
#define ICON_PAD_LEFT 4
#define ICON_PAD_RIGHT 4
-#define ICON_BASE_WIDTH 96
#define ICON_PAD_TOP 4
#define ICON_PAD_BOTTOM 4
@@ -100,32 +97,17 @@
#define STANDARD_ICON_GRID_WIDTH 155
-#define TEXT_BESIDE_ICON_GRID_WIDTH 205
-
/* Desktop layout mode defines */
#define DESKTOP_PAD_HORIZONTAL 10
#define DESKTOP_PAD_VERTICAL 10
#define SNAP_SIZE_X 78
#define SNAP_SIZE_Y 20
-#define DEFAULT_SELECTION_BOX_ALPHA 0x40
-#define DEFAULT_HIGHLIGHT_ALPHA 0xff
-#define DEFAULT_NORMAL_ALPHA 0xff
-#define DEFAULT_PRELIGHT_ALPHA 0xff
-#define DEFAULT_LIGHT_INFO_COLOR "#AAAAFD"
-#define DEFAULT_DARK_INFO_COLOR "#33337F"
-
-#define MINIMUM_EMBEDDED_TEXT_RECT_WIDTH 20
-#define MINIMUM_EMBEDDED_TEXT_RECT_HEIGHT 20
-
/* If icon size is bigger than this, request large embedded text.
* Its selected so that the non-large text should fit in "normal" icon sizes
*/
#define ICON_SIZE_FOR_LARGE_EMBEDDED_TEXT 55
-/* From caja-icon-canvas-item.c */
-#define MAX_TEXT_WIDTH_BESIDE 90
-
#define SNAP_HORIZONTAL(func,x) ((func ((double)((x) - DESKTOP_PAD_HORIZONTAL) / SNAP_SIZE_X) * SNAP_SIZE_X) + DESKTOP_PAD_HORIZONTAL)
#define SNAP_VERTICAL(func, y) ((func ((double)((y) - DESKTOP_PAD_VERTICAL) / SNAP_SIZE_Y) * SNAP_SIZE_Y) + DESKTOP_PAD_VERTICAL)