summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2013-08-12 20:58:45 +0200
committerAlejandro Piñeiro <apinheiro@igalia.com>2013-08-12 21:06:36 +0200
commitb614bfb09c99559de1b433222c405933903003c8 (patch)
treeae1e709e7bfefdb9bfcc5966ad0e197be6f3d594
parent0f1e31ad2451b1e00f631e217d9d29d306404f2d (diff)
downloadatk-b614bfb09c99559de1b433222c405933903003c8.tar.gz
Deprecate 'text-changed' signal
In favour of 'text-insert' and 'text-remove' https://bugzilla.gnome.org/show_bug.cgi?id=653291
-rwxr-xr-xatk/atktext.c5
-rwxr-xr-xatk/atktext.h3
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
{