summaryrefslogtreecommitdiff
path: root/eel/eel-editable-label.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-11-23 14:44:01 +0100
committerZenWalker <[email protected]>2019-11-30 23:47:25 +0100
commitc18cf51868958ac9d7b564e0d4fd6e75a37c747c (patch)
treec6a31ab7174fdd856f652a2aaaf90110b5a68bf2 /eel/eel-editable-label.c
parentae74af1a92441148dcb19f2b1f41779bc11b98b9 (diff)
downloadcaja-c18cf51868958ac9d7b564e0d4fd6e75a37c747c.tar.bz2
caja-c18cf51868958ac9d7b564e0d4fd6e75a37c747c.tar.xz
avoid redundant redeclarations
Diffstat (limited to 'eel/eel-editable-label.c')
-rw-r--r--eel/eel-editable-label.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index 800552e8..0b2cef59 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -67,8 +67,6 @@ enum
static guint signals[LAST_SIGNAL] = { 0 };
static void eel_editable_label_editable_init (GtkEditableInterface *iface);
-static void eel_editable_label_class_init (EelEditableLabelClass *klass);
-static void eel_editable_label_init (EelEditableLabel *label);
static void eel_editable_label_set_property (GObject *object,
guint prop_id,
const GValue *value,
@@ -4229,6 +4227,14 @@ eel_editable_label_accessible_finalize (GObject *object)
G_OBJECT_CLASS (a11y_parent_class)->finalize (object);
}
+G_DEFINE_TYPE_WITH_CODE (EelEditableLabelAccessible,
+ eel_editable_label_accessible,
+ GTK_TYPE_WIDGET_ACCESSIBLE,
+ G_IMPLEMENT_INTERFACE (ATK_TYPE_EDITABLE_TEXT,
+ atk_editable_text_interface_init)
+ G_IMPLEMENT_INTERFACE (ATK_TYPE_TEXT,
+ atk_text_interface_init));
+
static void
eel_editable_label_accessible_class_init (EelEditableLabelAccessibleClass *klass)
{
@@ -4247,12 +4253,3 @@ static void
eel_editable_label_accessible_init (EelEditableLabelAccessible *accessible)
{
}
-
-G_DEFINE_TYPE_WITH_CODE (EelEditableLabelAccessible,
- eel_editable_label_accessible,
- GTK_TYPE_WIDGET_ACCESSIBLE,
- G_IMPLEMENT_INTERFACE (ATK_TYPE_EDITABLE_TEXT,
- atk_editable_text_interface_init)
- G_IMPLEMENT_INTERFACE (ATK_TYPE_TEXT,
- atk_text_interface_init));
-