From 28f7b460e3badc90486346e86f169c4c54c03e40 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Jul 2022 13:39:26 +0200 Subject: warning: macro is not used [-Wunused-macros] --- src/themes/coco/coco-theme.c | 6 ------ src/themes/standard/theme.c | 2 -- 2 files changed, 8 deletions(-) (limited to 'src/themes') 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, -- cgit v1.2.1