summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-editable-label.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index 50329345..08128009 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -41,6 +41,7 @@
#if !GTK_CHECK_VERSION (3, 0, 0)
#define cairo_region_t GdkRegion
#define cairo_region_destroy gdk_region_destroy
+#define GtkEditableInterface GtkEditableClass
#endif
enum
@@ -67,7 +68,7 @@ enum
static guint signals[LAST_SIGNAL] = { 0 };
-static void eel_editable_label_editable_init (GtkEditableClass *iface);
+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,
@@ -514,7 +515,7 @@ eel_editable_label_class_init (EelEditableLabelClass *class)
}
static void
-eel_editable_label_editable_init (GtkEditableClass *iface)
+eel_editable_label_editable_init (GtkEditableInterface *iface)
{
iface->do_insert_text = editable_insert_text_emit;
iface->do_delete_text = editable_delete_text_emit;