[gtk/a11y/atspi] Remove some unused code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/a11y/atspi] Remove some unused code
- Date: Tue, 13 Oct 2020 21:26:56 +0000 (UTC)
commit 81e107885c80fe6cd3c8b06b8e9fb09f4d625b59
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 13 15:08:15 2020 -0400
Remove some unused code
gtk/a11y/gtkatspicontext.c | 31 -------------------------------
1 file changed, 31 deletions(-)
---
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]