summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-21 12:53:45 +0100
committerraveit65 <[email protected]>2020-12-27 22:41:10 +0100
commita640f803e1f298e26cdb5fd642de09ccee3508ca (patch)
treee68d5e7d4fab7ba1a5d84717106d28004bd2e029
parent9cf9f588228d6a0dbb162a5e4fa85ead320233e6 (diff)
downloadmate-terminal-a640f803e1f298e26cdb5fd642de09ccee3508ca.tar.bz2
mate-terminal-a640f803e1f298e26cdb5fd642de09ccee3508ca.tar.xz
Remove unused macros
-rw-r--r--src/skey/sha1.c4
-rw-r--r--src/terminal-profile.c1
-rw-r--r--src/terminal-window.c1
3 files changed, 0 insertions, 6 deletions
diff --git a/src/skey/sha1.c b/src/skey/sha1.c
index d1c57d1..4537781 100644
--- a/src/skey/sha1.c
+++ b/src/skey/sha1.c
@@ -10,10 +10,6 @@
#include "skeyutil.h"
#include "sha1.h"
-
-#define SHA1_DIGESTSIZE 20
-#define SHA1_BLOCKSIZE 64
-
#define HTONDIGEST(x) { \
x[0] = htonl(x[0]); \
x[1] = htonl(x[1]); \
diff --git a/src/terminal-profile.c b/src/terminal-profile.c
index 427225e..4e91aef 100644
--- a/src/terminal-profile.c
+++ b/src/terminal-profile.c
@@ -133,7 +133,6 @@ enum
#define DEFAULT_BOLD_COLOR_SAME_AS_FG (TRUE)
#define DEFAULT_BACKGROUND_DARKNESS (0.5)
#define DEFAULT_BACKGROUND_IMAGE_FILE ("")
-#define DEFAULT_BACKGROUND_IMAGE (NULL)
#define DEFAULT_BACKGROUND_TYPE (TERMINAL_BACKGROUND_SOLID)
#define DEFAULT_BACKSPACE_BINDING (VTE_ERASE_ASCII_DELETE)
#define DEFAULT_CURSOR_BLINK_MODE (VTE_CURSOR_BLINK_SYSTEM)
diff --git a/src/terminal-window.c b/src/terminal-window.c
index c1cb230..aabec91 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -401,7 +401,6 @@ terminal_window_ReadInteger (char *string,
#define YValue 0x0002
#define WidthValue 0x0004
#define HeightValue 0x0008
-#define AllValues 0x000F
#define XNegative 0x0010
#define YNegative 0x0020