summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <bcameron@src.gnome.org>2001-05-28 10:18:46 +0000
committerBrian Cameron <bcameron@src.gnome.org>2001-05-28 10:18:46 +0000
commit78d10a74dc40bbb8addb4fe43f8303189835f355 (patch)
tree6d9ba049449427ca985edfc996ad342d9cb1f3f7
parent349e73fccfc5e59cc65474d2e3b25a0f5207bd0b (diff)
downloadatk-78d10a74dc40bbb8addb4fe43f8303189835f355.tar.gz
Updated atktext.c so that the initialized flag is set up properly when
setting up the signal handlers.
-rw-r--r--ChangeLog6
-rwxr-xr-xatk/atktext.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 43b69ae..2468ace 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+
+2001-05-28 Brian Cameron <brian.cameron@sun.com>
+
+ * atk/atktext.c
+ Now properly set the initialized flag when setting up signals.
+
2001-05-24 Padraig O'Briain <padraig.obriain@sun.com>
* atk/atkaction.c, atk/atkcomponent.c, atk/atkeditabletext.c,
diff --git a/atk/atktext.c b/atk/atktext.c
index aee0422..8cc8554 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -66,6 +66,10 @@ atk_text_base_init (gpointer *g_class)
if (! initialized)
{
+/*
+ ATK_TEXT_GET_IFACE(g_class)->text_changed = 0;
+ ATK_TEXT_GET_IFACE(g_class)->caret_changed = 0;
+*/
/*
* Note that text_changed signal supports details "insert", "delete",
@@ -91,6 +95,8 @@ atk_text_base_init (gpointer *g_class)
g_cclosure_marshal_VOID__INT,
G_TYPE_NONE,
1, G_TYPE_INT);
+
+ initialized = TRUE;
}
}