summaryrefslogtreecommitdiff
path: root/eel
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 /eel
parenta67e47448d5534302f0efe588942e761881f28bc (diff)
downloadcaja-47babe69871cd65b2fb3ae2d9f97b5c31331a28f.tar.bz2
caja-47babe69871cd65b2fb3ae2d9f97b5c31331a28f.tar.xz
Remove unused macros
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-canvas.c1
-rw-r--r--eel/eel-gdk-extensions.c2
-rw-r--r--eel/eel-gtk-extensions.c5
-rw-r--r--eel/eel-stock-dialogs.c2
4 files changed, 0 insertions, 10 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index e72cc7ce..ee70a047 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -86,7 +86,6 @@ static void redraw_and_repick_if_mapped (EelCanvasItem *item);
/* Some convenience stuff */
#define GCI_UPDATE_MASK (EEL_CANVAS_UPDATE_REQUESTED | EEL_CANVAS_UPDATE_DEEP)
-#define GCI_EPSILON 1e-18
enum
{
diff --git a/eel/eel-gdk-extensions.c b/eel/eel-gdk-extensions.c
index 1bd367fb..3c4a63db 100644
--- a/eel/eel-gdk-extensions.c
+++ b/eel/eel-gdk-extensions.c
@@ -37,8 +37,6 @@
#include <stdlib.h>
#include <pango/pango.h>
-#define GRADIENT_BAND_SIZE 4
-
/**
* eel_gradient_new
* @start_color: Color for the top or left.
diff --git a/eel/eel-gtk-extensions.c b/eel/eel-gtk-extensions.c
index aecbcc75..350ed596 100644
--- a/eel/eel-gtk-extensions.c
+++ b/eel/eel-gtk-extensions.c
@@ -44,11 +44,6 @@
#include <glib/gi18n-lib.h>
#include <math.h>
-/* This number is fairly arbitrary. Long enough to show a pretty long
- * menu title, but not so long to make a menu grotesquely wide.
- */
-#define MAXIMUM_MENU_TITLE_LENGTH 48
-
/* Used for window position & size sanity-checking. The sizes are big enough to prevent
* at least normal-sized mate panels from obscuring the window at the screen edges.
*/
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c
index d34160ad..15d0d7dc 100644
--- a/eel/eel-stock-dialogs.c
+++ b/eel/eel-stock-dialogs.c
@@ -36,8 +36,6 @@
#define TIMED_WAIT_MINIMUM_DIALOG_WIDTH 300
-#define RESPONSE_DETAILS 1000
-
typedef struct
{
EelCancelCallback cancel_callback;