From c37bfa84db83ebbe48fefdf3401c6ea4182cc9b0 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 19 Nov 2020 11:44:14 +0100 Subject: Remove unused macros --- src/math-buttons.c | 3 --- src/math-equation.c | 2 -- 2 files changed, 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 */ -- cgit v1.2.1