summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-07-26 13:39:26 +0200
committerrbuj <[email protected]>2022-07-26 13:39:26 +0200
commit28f7b460e3badc90486346e86f169c4c54c03e40 (patch)
tree4093cf273eed723c7038c330b2803953fa91c87a /src/themes
parent5850ec4d315ac056cc56995448a38a175b4b902a (diff)
downloadmate-notification-daemon-unused-macros.tar.bz2
mate-notification-daemon-unused-macros.tar.xz
warning: macro is not used [-Wunused-macros]unused-macros
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/coco/coco-theme.c6
-rw-r--r--src/themes/standard/theme.c2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index 0913174..95834ea 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -90,19 +90,13 @@ void set_notification_timeout(GtkWindow *nw, glong timeout);
void set_notification_hints(GtkWindow *nw, GVariant *hints);
void notification_tick(GtkWindow *nw, glong remaining);
-#define STRIPE_WIDTH 32
#define WIDTH 300
#define IMAGE_SIZE 32
#define IMAGE_PADDING 10
-#define SPACER_LEFT 30
#define PIE_RADIUS 12
#define PIE_WIDTH (2 * PIE_RADIUS)
#define PIE_HEIGHT (2 * PIE_RADIUS)
#define BODY_X_OFFSET (IMAGE_SIZE + 8)
-#define DEFAULT_ARROW_OFFSET (SPACER_LEFT + 12)
-#define DEFAULT_ARROW_HEIGHT 14
-#define DEFAULT_ARROW_WIDTH 22
-#define DEFAULT_ARROW_SKEW -6
#define BACKGROUND_OPACITY 0.9
#define GRADIENT_CENTER 0.7
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c
index c243a4f..7925213 100644
--- a/src/themes/standard/theme.c
+++ b/src/themes/standard/theme.c
@@ -109,7 +109,6 @@ void notification_tick(GtkWindow *nw, glong remaining);
#define WIDTH 400
#define IMAGE_SIZE 32
-#define IMAGE_PADDING 10
#define SPACER_LEFT 30
#define PIE_RADIUS 12
#define PIE_WIDTH (2 * PIE_RADIUS)
@@ -119,7 +118,6 @@ void notification_tick(GtkWindow *nw, glong remaining);
#define DEFAULT_ARROW_HEIGHT 14
#define DEFAULT_ARROW_WIDTH 28
#define BACKGROUND_OPACITY 0.92
-#define BOTTOM_GRADIENT_HEIGHT 30
static void
get_background_color (GtkStyleContext *context,