Deprecate 'text-changed' signal
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 12 Aug 2013 18:58:45 +0000 (20:58 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 12 Aug 2013 19:06:36 +0000 (21:06 +0200)
In favour of 'text-insert' and 'text-remove'

https://bugzilla.gnome.org/show_bug.cgi?id=653291

atk/atktext.c
atk/atktext.h

index 9cc63b6..f99a092 100755 (executable)
@@ -199,7 +199,10 @@ atk_text_base_init (AtkTextIface *class)
        * object which implements the AtkText interface changes, This
        * signal will have a detail which is either "insert" or
        * "delete" which identifies whether the text change was an
-       * insertion or a deletion
+       * insertion or a deletion.
+       *
+       * Deprecated: Since 2.9.4. Use #AtkObject::text-insert or
+       * #AtkObject::text-remove instead.
        */
       atk_text_signals[TEXT_CHANGED] =
        g_signal_new ("text_changed",
index 142d9e9..759eb5f 100755 (executable)
@@ -209,6 +209,9 @@ typedef enum {
  *   is deprecated and it should not be overridden.
  * @get_text_before_offset: Gets specified text. This virtual function
  *   is deprecated and it should not be overridden.
+ * @text_changed: the signal handler which is executed when there is a
+ *   text change. This virtual function is deprecated sice 2.9.4 and
+ *   it should not be overriden.
  */
 struct _AtkTextIface
 {