From b614bfb09c99559de1b433222c405933903003c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Mon, 12 Aug 2013 20:58:45 +0200 Subject: [PATCH] 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 deletion(-) 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 { -- 2.11.4.GIT