Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2015-06-25 21:47:18 +0000
committerAlexander Kurtakov2015-07-08 16:59:54 +0000
commit6f7be940f221201679ce6e9e2d486a30b55d393a (patch)
treec31a6f0f09244f1d0aeb4f8c4034b93f0ed2abe6 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c
parent0793952a85f125d0adaba6ff8058e9d23f79ed57 (diff)
downloadeclipse.platform.swt-6f7be940f221201679ce6e9e2d486a30b55d393a.tar.gz
eclipse.platform.swt-6f7be940f221201679ce6e9e2d486a30b55d393a.tar.xz
eclipse.platform.swt-6f7be940f221201679ce6e9e2d486a30b55d393a.zip
Bug 470629 - [GTK] [ATK] Replace deprecated atk_role_register
atk_role_register is deprecated. atk documentation suggests to use build in roles or request new roles. ROW_ROLE is now mapped to ATK_ROLE_TABLE_ROW (newly introduced in Atk 2.1). COLUMN_ROLE is mapped to ATK_ROLE_UNKNOWN. Gtk doesn't have a notion of 'columns'. There is no way to select a column. There wouldn't be a point in adding it to ATK if there is no use case for it. (SEE ATK bug for detailed discussion: https://bugzilla.gnome.org/show_bug.cgi?id=751237 Added code to atk_custom.h/atk.h to allow dynamic function generation. Introduced guards in os_custom.h to prevent duplicate inclusion. TESTS: - Gtk2.24/Gtk3.16 Snippets work. - Orca still correctly reads out tables/trees/lists. - Accerciser shows correct accessibility model as usual. - SWT. Unit tests. (no new errors/failures). Change-Id: I9c299edaa7a3a87e0f90149a868691fd24a3b57e Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c
index 37db362ce4..a8b2cb0681 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.
+ * Copyright (c) 2000, 2015 IBM Corporation and others. All rights reserved.
* The contents of this file are made available under the terms
* of the GNU Lesser General Public License (LGPL) Version 2.1 that
* accompanies this distribution (lgpl-v21.txt). The LGPL is also
@@ -44,6 +44,9 @@ char * ATK_nativeFunctionNames[] = {
"_1ATK_1TEXT_1GET_1IFACE",
"_1ATK_1VALUE_1GET_1IFACE",
"_1atk_1get_1default_1registry",
+ "_1atk_1major_1version",
+ "_1atk_1micro_1version",
+ "_1atk_1minor_1version",
"_1atk_1object_1factory_1get_1accessible_1type",
"_1atk_1object_1initialize",
"_1atk_1object_1notify_1state_1change",

Back to the top