summaryrefslogtreecommitdiff
path: root/src/math-variable-popup.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-variable-popup.c
parent5882467c0df5c919aacd76292687064734b0ac0e (diff)
downloadmate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.bz2
mate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.xz
Use a blank line at most
Diffstat (limited to 'src/math-variable-popup.c')
-rw-r--r--src/math-variable-popup.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/math-variable-popup.c b/src/math-variable-popup.c
index 26bc4f5..0a78455 100644
--- a/src/math-variable-popup.c
+++ b/src/math-variable-popup.c
@@ -35,14 +35,12 @@ math_variable_popup_new(MathEquation *equation)
return g_object_new(math_variable_popup_get_type(), "equation", equation, NULL);
}
-
static void
variable_focus_out_event_cb(GtkWidget *widget, GdkEventFocus *event, MathVariablePopup *popup)
{
gtk_widget_destroy(widget);
}
-
static void
insert_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
{
@@ -54,7 +52,6 @@ insert_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
gtk_widget_destroy(gtk_widget_get_toplevel(widget));
}
-
static gboolean
variable_name_key_press_cb(GtkWidget *widget, GdkEventKey *event, MathVariablePopup *popup)
{
@@ -65,7 +62,6 @@ variable_name_key_press_cb(GtkWidget *widget, GdkEventKey *event, MathVariablePo
return FALSE;
}
-
static void
variable_name_changed_cb(GtkWidget *widget, MathVariablePopup *popup)
{
@@ -73,7 +69,6 @@ variable_name_changed_cb(GtkWidget *widget, MathVariablePopup *popup)
gtk_widget_set_sensitive(popup->priv->add_variable_button, text[0] != '\0');
}
-
static void
add_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
{
@@ -95,7 +90,6 @@ add_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
mp_clear(&z);
}
-
static void
save_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
{
@@ -114,7 +108,6 @@ save_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
mp_clear(&z);
}
-
static void
delete_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
{
@@ -126,7 +119,6 @@ delete_variable_cb(GtkWidget *widget, MathVariablePopup *popup)
gtk_widget_destroy(gtk_widget_get_toplevel(widget));
}
-
static GtkWidget *
make_variable_entry(MathVariablePopup *popup, const gchar *name, const MPNumber *value, gboolean writable)
{
@@ -184,7 +176,6 @@ make_variable_entry(MathVariablePopup *popup, const gchar *name, const MPNumber
return hbox;
}
-
static void
math_variable_popup_set_property(GObject *object,
guint prop_id,
@@ -248,7 +239,6 @@ math_variable_popup_set_property(GObject *object,
}
}
-
static void
math_variable_popup_get_property(GObject *object,
guint prop_id,
@@ -269,7 +259,6 @@ math_variable_popup_get_property(GObject *object,
}
}
-
static void
math_variable_popup_class_init(MathVariablePopupClass *klass)
{
@@ -287,7 +276,6 @@ math_variable_popup_class_init(MathVariablePopupClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
-
static void
math_variable_popup_init(MathVariablePopup *popup)
{