summaryrefslogtreecommitdiff
path: root/src/math-display.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:48:15 +0200
committerraveit65 <[email protected]>2021-11-20 22:07:47 +0100
commit536f2a503bc2c961329359ac357a3d002acad37c (patch)
treef5526dc856ace6ca3e1b882e1ccada5e2d6875e4 /src/math-display.c
parent5882467c0df5c919aacd76292687064734b0ac0e (diff)
downloadmate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.bz2
mate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.xz
Use a blank line at most
Diffstat (limited to 'src/math-display.c')
-rw-r--r--src/math-display.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/math-display.c b/src/math-display.c
index 7a24838..b0f3e0e 100644
--- a/src/math-display.c
+++ b/src/math-display.c
@@ -42,21 +42,18 @@ math_display_new()
return g_object_new(math_display_get_type(), "equation", math_equation_new(), NULL);
}
-
MathDisplay *
math_display_new_with_equation(MathEquation *equation)
{
return g_object_new(math_display_get_type(), "equation", equation, NULL);
}
-
MathEquation *
math_display_get_equation(MathDisplay *display)
{
return display->priv->equation;
}
-
static gboolean
display_key_press_cb(GtkWidget *widget, GdkEventKey *event, MathDisplay *display)
{
@@ -294,7 +291,6 @@ display_key_press_cb(GtkWidget *widget, GdkEventKey *event, MathDisplay *display
return FALSE;
}
-
static gboolean
key_press_cb(MathDisplay *display, GdkEventKey *event)
{
@@ -303,7 +299,6 @@ key_press_cb(MathDisplay *display, GdkEventKey *event)
return result;
}
-
static void
status_changed_cb(MathEquation *equation, GParamSpec *spec, MathDisplay *display)
{
@@ -414,7 +409,6 @@ create_gui(MathDisplay *display)
status_changed_cb(display->priv->equation, NULL, display);
}
-
static void
math_display_set_property(GObject *object,
guint prop_id,
@@ -436,7 +430,6 @@ math_display_set_property(GObject *object,
}
}
-
static void
math_display_get_property(GObject *object,
guint prop_id,
@@ -457,7 +450,6 @@ math_display_get_property(GObject *object,
}
}
-
static void
math_display_class_init(MathDisplayClass *klass)
{
@@ -475,7 +467,6 @@ math_display_class_init(MathDisplayClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
-
static void
math_display_init(MathDisplay *display)
{