Updated atktext.c so that the initialized flag is set up properly when
authorBrian Cameron <bcameron@src.gnome.org>
Mon, 28 May 2001 10:18:46 +0000 (10:18 +0000)
committerBrian Cameron <bcameron@src.gnome.org>
Mon, 28 May 2001 10:18:46 +0000 (10:18 +0000)
setting up the signal handlers.

ChangeLog
atk/atktext.c

index 43b69ae..2468ace 100644 (file)
--- 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,
index aee0422..8cc8554 100755 (executable)
@@ -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;
   }
 }