* atk/atkutil.c (atk_focus_tracker_notify):
Do not do notification if previously notified object is the same as
this object
+2002-03-19 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * atk/atkutil.c (atk_focus_tracker_notify):
+ Do not do notification if previously notified object is the same as
+ this object
+
2002-03-14 Tor Lillqvist <tml@iki.fi>
* atk/Makefile.am: Use correct name for the DLL when generating
atk_focus_tracker_notify (AtkObject *object)
{
FocusTracker *item;
+ static AtkObject *previous_focus_object = NULL;
guint i;
if (trackers == NULL)
return;
+ if (object == previous_focus_object)
+ return;
+ else
+ {
+ if (previous_focus_object)
+ g_object_unref (previous_focus_object);
+ previous_focus_object = g_object_ref (object);
+ }
+
for (i = 0; i < trackers->len; i++)
{
item = &g_array_index (trackers, FocusTracker, i);