summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-19 11:44:14 +0100
committerraveit65 <[email protected]>2020-11-24 23:40:13 +0100
commitc37bfa84db83ebbe48fefdf3401c6ea4182cc9b0 (patch)
tree28fed6e46d2828386a38eefd5d6e151bc9c03e5e /src
parent0ee339f2571c7266646dc522969b6121d6a03ce7 (diff)
downloadmate-calc-c37bfa84db83ebbe48fefdf3401c6ea4182cc9b0.tar.bz2
mate-calc-c37bfa84db83ebbe48fefdf3401c6ea4182cc9b0.tar.xz
Remove unused macros
Diffstat (limited to 'src')
-rw-r--r--src/math-buttons.c3
-rw-r--r--src/math-equation.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c
index 64d929c..f9e74f5 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -69,9 +69,6 @@ G_DEFINE_TYPE_WITH_PRIVATE (MathButtons, math_buttons, GTK_TYPE_BOX);
#define GET_WIDGET(ui, name) \
GTK_WIDGET(gtk_builder_get_object((ui), (name)))
-#define WM_WIDTH_FACTOR 10
-#define WM_HEIGHT_FACTOR 30
-
typedef enum
{
NUMBER,
diff --git a/src/math-equation.c b/src/math-equation.c
index c739197..8f8c1c1 100644
--- a/src/math-equation.c
+++ b/src/math-equation.c
@@ -49,8 +49,6 @@ enum {
static GType number_mode_type, number_format_type, angle_unit_type;
-#define MAX_DIGITS 512
-
/* Expression mode state */
typedef struct {
MPNumber ans; /* Previously calculated answer */