[atk] Deprecate 'text-changed' signal



commit b614bfb09c99559de1b433222c405933903003c8
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Mon Aug 12 20:58:45 2013 +0200

    Deprecate 'text-changed' signal
    
    In favour of 'text-insert' and 'text-remove'
    
    https://bugzilla.gnome.org/show_bug.cgi?id=653291

 atk/atktext.c |    5 ++++-
 atk/atktext.h |    3 +++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/atk/atktext.c b/atk/atktext.c
index 9cc63b6..f99a092 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -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",
diff --git a/atk/atktext.h b/atk/atktext.h
index 142d9e9..759eb5f 100755
--- a/atk/atktext.h
+++ b/atk/atktext.h
@@ -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
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]