summaryrefslogtreecommitdiff
path: root/src/unit-category.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit-category.c')
-rw-r--r--src/unit-category.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/unit-category.c b/src/unit-category.c
index af4fb18..a19b68b 100644
--- a/src/unit-category.c
+++ b/src/unit-category.c
@@ -22,7 +22,6 @@ struct UnitCategoryPrivate
G_DEFINE_TYPE_WITH_PRIVATE (UnitCategory, unit_category, G_TYPE_OBJECT);
-
UnitCategory *
unit_category_new(const gchar *name, const gchar *display_name)
{
@@ -32,7 +31,6 @@ unit_category_new(const gchar *name, const gchar *display_name)
return category;
}
-
const gchar *
unit_category_get_name(UnitCategory *category)
{
@@ -40,7 +38,6 @@ unit_category_get_name(UnitCategory *category)
return category->priv->name;
}
-
const gchar *
unit_category_get_display_name(UnitCategory *category)
{
@@ -48,7 +45,6 @@ unit_category_get_display_name(UnitCategory *category)
return category->priv->display_name;
}
-
void
unit_category_add_unit(UnitCategory *category, Unit *unit)
{
@@ -57,7 +53,6 @@ unit_category_add_unit(UnitCategory *category, Unit *unit)
category->priv->units = g_list_append(category->priv->units, g_object_ref(unit));
}
-
Unit *
unit_category_get_unit_by_name(UnitCategory *category, const gchar *name)
{
@@ -76,7 +71,6 @@ unit_category_get_unit_by_name(UnitCategory *category, const gchar *name)
return NULL;
}
-
Unit *
unit_category_get_unit_by_symbol(UnitCategory *category, const gchar *symbol)
{
@@ -94,7 +88,6 @@ unit_category_get_unit_by_symbol(UnitCategory *category, const gchar *symbol)
return NULL;
}
-
const GList *
unit_category_get_units(UnitCategory *category)
{
@@ -102,7 +95,6 @@ unit_category_get_units(UnitCategory *category)
return category->priv->units;
}
-
gboolean
unit_category_convert(const UnitCategory *category, const MPNumber *x, Unit *x_units, Unit *z_units, MPNumber *z)
{
@@ -126,13 +118,11 @@ unit_category_convert(const UnitCategory *category, const MPNumber *x, Unit *x_u
return TRUE;
}
-
static void
unit_category_class_init(UnitCategoryClass *klass)
{
}
-
static void
unit_category_init(UnitCategory *category)
{