summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */