summaryrefslogtreecommitdiff
path: root/src/currency.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/currency.c
parent5882467c0df5c919aacd76292687064734b0ac0e (diff)
downloadmate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.bz2
mate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.xz
Use a blank line at most
Diffstat (limited to 'src/currency.c')
-rw-r--r--src/currency.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/currency.c b/src/currency.c
index a6295ee..6829267 100644
--- a/src/currency.c
+++ b/src/currency.c
@@ -25,7 +25,6 @@ struct CurrencyPrivate
G_DEFINE_TYPE_WITH_PRIVATE (Currency, currency, G_TYPE_OBJECT);
-
Currency *
currency_new(const gchar *name,
const gchar *display_name,
@@ -41,7 +40,6 @@ currency_new(const gchar *name,
return currency;
}
-
const gchar *
currency_get_name(Currency *currency)
{
@@ -49,7 +47,6 @@ currency_get_name(Currency *currency)
return currency->priv->name;
}
-
const gchar *
currency_get_display_name(Currency *currency)
{
@@ -57,7 +54,6 @@ currency_get_display_name(Currency *currency)
return currency->priv->display_name;
}
-
const gchar *
currency_get_symbol(Currency *currency)
{
@@ -65,7 +61,6 @@ currency_get_symbol(Currency *currency)
return currency->priv->symbol;
}
-
void
currency_set_value(Currency *currency, MPNumber *value)
{
@@ -74,7 +69,6 @@ currency_set_value(Currency *currency, MPNumber *value)
mp_set_from_mp (value, &currency->priv->value);
}
-
const MPNumber *
currency_get_value(Currency *currency)
{
@@ -82,13 +76,11 @@ currency_get_value(Currency *currency)
return &currency->priv->value;
}
-
static void
currency_class_init(CurrencyClass *klass)
{
}
-
static void
currency_init(Currency *currency)
{