summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-12 01:41:09 +0200
committerraveit65 <[email protected]>2022-07-21 19:33:49 +0200
commita5ce9aa44e916bb093a635e5b48f65435deca2ff (patch)
treeca389c1fa3c6ea9d7ee997179aaab56dd16a1378 /eel
parent88f198c09524a4c78744177fcafac2d82b741d6e (diff)
downloadcaja-a5ce9aa44e916bb093a635e5b48f65435deca2ff.tar.bz2
caja-a5ce9aa44e916bb093a635e5b48f65435deca2ff.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;