diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c index 8482d40c52..6e4cfdf2c2 100644 --- a/gtk/a11y/gtkatspicontext.c +++ b/gtk/a11y/gtkatspicontext.c @@ -938,37 +938,6 @@ gtk_at_spi_context_state_change (GtkATContext *ctx, } } -static void -insert_text_cb (GtkEditable *editable, - char *new_text, - int new_text_length, - int *position, - GtkAtSpiContext *self) -{ - int length; - - if (new_text_length == 0) - return; - - length = g_utf8_strlen (new_text, new_text_length); - emit_text_changed (self, "insert", *position - length, length, new_text); -} - -static void -delete_text_cb (GtkEditable *editable, - int start, - int end, - GtkAtSpiContext *self) -{ - char *text; - - if (start == end) - return; - - text = gtk_editable_get_chars (editable, start, end); - emit_text_changed (self, "delete", start, end - start, text); -} - static void gtk_at_spi_context_dispose (GObject *gobject) {