From 8c9f1931147d2bd8aaa147a84d31830f979a8062 Mon Sep 17 00:00:00 2001 From: deepend Date: Fri, 30 Jan 2026 18:06:11 -0700 Subject: [PATCH] Added GTK2/GTK3-conditional declarations and definitions for sexy_spell_entry_editable_init to match the appropriate editable interface type. --- src/fe-gtk/sexy-spell-entry.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c index 82d29c97..00f0329a 100644 --- a/src/fe-gtk/sexy-spell-entry.c +++ b/src/fe-gtk/sexy-spell-entry.c @@ -107,7 +107,12 @@ struct _SexySpellEntryPriv }; static void sexy_spell_entry_class_init(SexySpellEntryClass *klass); +#if HAVE_GTK3 +static void sexy_spell_entry_editable_init (GtkEditableInterface *iface); +#endif +#if !HAVE_GTK3 static void sexy_spell_entry_editable_init (GtkEditableClass *iface); +#endif static void sexy_spell_entry_init(SexySpellEntry *entry); static void sexy_spell_entry_finalize(GObject *obj); static void sexy_spell_entry_destroy(GObject *obj); @@ -286,10 +291,19 @@ sexy_spell_entry_class_init(SexySpellEntryClass *klass) } } +#if HAVE_GTK3 +static void +sexy_spell_entry_editable_init (GtkEditableInterface *iface) +{ +} +#endif + +#if !HAVE_GTK3 static void sexy_spell_entry_editable_init (GtkEditableClass *iface) { } +#endif static gint gtk_entry_find_position (GtkEntry *entry, gint x)