aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-table-extras.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-table-extras.c')
-rw-r--r--e-util/e-table-extras.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/e-util/e-table-extras.c b/e-util/e-table-extras.c
index 1820f35451..35658fd0cc 100644
--- a/e-util/e-table-extras.c
+++ b/e-util/e-table-extras.c
@@ -52,9 +52,10 @@ struct _ETableExtrasPrivate {
GHashTable *searches;
};
-/* workaround for avoiding API breakage */
-#define ete_get_type e_table_extras_get_type
-G_DEFINE_TYPE (ETableExtras, ete, G_TYPE_OBJECT)
+G_DEFINE_TYPE (
+ ETableExtras,
+ e_table_extras,
+ G_TYPE_OBJECT)
static void
ete_finalize (GObject *object)
@@ -83,11 +84,11 @@ ete_finalize (GObject *object)
priv->icon_names = NULL;
}
- G_OBJECT_CLASS (ete_parent_class)->finalize (object);
+ G_OBJECT_CLASS (e_table_extras_parent_class)->finalize (object);
}
static void
-ete_class_init (ETableExtrasClass *class)
+e_table_extras_class_init (ETableExtrasClass *class)
{
GObjectClass *object_class;
@@ -235,7 +236,7 @@ safe_unref (gpointer object)
}
static void
-ete_init (ETableExtras *extras)
+e_table_extras_init (ETableExtras *extras)
{
ECell *cell, *sub_cell;