atktext: remove 'text-update' signal
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 19 Aug 2013 14:28:05 +0000 (16:28 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 19 Aug 2013 14:28:05 +0000 (16:28 +0200)
That signal was created with wrong parameters, it is not used
at all, and it is not clear if it is needed. So removing until
someone brings the topic again, with a valid reasoning. Right now
the only one is being more compatible with IA2.

See also:
https://mail.gnome.org/archives/gnome-accessibility-devel/2013-August/msg00013.html

atk/atktext.c

index 5bea401..8e6b9c3 100755 (executable)
@@ -59,7 +59,6 @@ enum {
   TEXT_ATTRIBUTES_CHANGED,
   TEXT_INSERT,
   TEXT_REMOVE,
-  TEXT_UPDATE,
   LAST_SIGNAL
 };
 
@@ -255,28 +254,6 @@ atk_text_base_init (AtkTextIface *class)
                      3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
 
       /**
-       * AtkText::text-update:
-       * @atktext: the object which received the signal.
-       * @arg1: unknown
-       * @arg2: unknown
-       * @arg3: unknown
-       * @arg4: unknown
-       *
-       * The "text-update" signal is emitted when a new text is
-       * updated.
-       */
-      atk_text_signals[TEXT_UPDATE] =
-       g_signal_new ("text_update",
-                     ATK_TYPE_TEXT,
-                     G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
-                     0,
-                     (GSignalAccumulator) NULL, NULL,
-                     atk_marshal_VOID__INT_INT_INT_STRING,
-                     G_TYPE_NONE,
-                     4, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
-
-
-      /**
        * AtkText::text-caret-moved:
        * @atktext: the object which received the signal.
        * @arg1: The new position of the text caret.