summaryrefslogtreecommitdiff
path: root/src/unit-manager.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/unit-manager.c
parent5882467c0df5c919aacd76292687064734b0ac0e (diff)
downloadmate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.bz2
mate-calc-536f2a503bc2c961329359ac357a3d002acad37c.tar.xz
Use a blank line at most
Diffstat (limited to 'src/unit-manager.c')
-rw-r--r--src/unit-manager.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/unit-manager.c b/src/unit-manager.c
index cb81045..91ec8b6 100644
--- a/src/unit-manager.c
+++ b/src/unit-manager.c
@@ -22,17 +22,14 @@ struct UnitManagerPrivate
G_DEFINE_TYPE_WITH_PRIVATE (UnitManager, unit_manager, G_TYPE_OBJECT);
-
static UnitManager *default_unit_manager = NULL;
-
static gint
compare_currencies(gconstpointer a, gconstpointer b)
{
return strcmp(currency_get_display_name((Currency *)a), currency_get_display_name((Currency *)b));
}
-
UnitManager *
unit_manager_get_default(void)
{
@@ -145,7 +142,6 @@ unit_manager_get_default(void)
return default_unit_manager;
}
-
UnitCategory *
unit_manager_add_category(UnitManager *manager, const gchar *name, const gchar *display_name)
{
@@ -162,7 +158,6 @@ unit_manager_add_category(UnitManager *manager, const gchar *name, const gchar *
return category;
}
-
const GList *
unit_manager_get_categories(UnitManager *manager)
{
@@ -170,7 +165,6 @@ unit_manager_get_categories(UnitManager *manager)
return manager->priv->categories;
}
-
UnitCategory *
unit_manager_get_category(UnitManager *manager, const gchar *category)
{
@@ -188,7 +182,6 @@ unit_manager_get_category(UnitManager *manager, const gchar *category)
return NULL;
}
-
Unit *
unit_manager_get_unit_by_name(UnitManager *manager, const gchar *name)
{
@@ -208,7 +201,6 @@ unit_manager_get_unit_by_name(UnitManager *manager, const gchar *name)
return NULL;
}
-
Unit *
unit_manager_get_unit_by_symbol(UnitManager *manager, const gchar *symbol)
{
@@ -228,7 +220,6 @@ unit_manager_get_unit_by_symbol(UnitManager *manager, const gchar *symbol)
return NULL;
}
-
gboolean
unit_manager_convert_by_symbol(UnitManager *manager, const MPNumber *x, const char *x_symbol, const char *z_symbol, MPNumber *z)
{
@@ -253,13 +244,11 @@ unit_manager_convert_by_symbol(UnitManager *manager, const MPNumber *x, const ch
return FALSE;
}
-
static void
unit_manager_class_init(UnitManagerClass *klass)
{
}
-
static void
unit_manager_init(UnitManager *manager)
{