summaryrefslogtreecommitdiff
path: root/atk/atkutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'atk/atkutil.c')
-rwxr-xr-xatk/atkutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/atk/atkutil.c b/atk/atkutil.c
index bd1b252..9a06723 100755
--- a/atk/atkutil.c
+++ b/atk/atkutil.c
@@ -71,7 +71,7 @@ static gboolean init_done = FALSE;
* Array of FocusTracker structs
*/
static GArray *trackers = NULL;
-static guint index = 0;
+static guint global_index = 0;
typedef struct _FocusTracker FocusTracker;
@@ -124,10 +124,10 @@ atk_add_focus_tracker (AtkEventListener focus_tracker)
{
FocusTracker item;
- item.index = ++index;
+ item.index = ++global_index;
item.func = focus_tracker;
trackers = g_array_append_val (trackers, item);
- return index;
+ return global_index;
}
else
{