Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Williams2018-08-13 20:17:09 +0000
committerEric Williams2018-08-13 20:32:04 +0000
commit6313a1324d08c937a5e55e77cbc91d1ade6d43c7 (patch)
tree41df425500d9a312cde743d4cd73fa4d2457cd29 /bundles/org.eclipse.swt/Eclipse SWT Accessibility
parent26b042e525d770ec2bb9884d4d12f3a6e98d6210 (diff)
downloadeclipse.platform.swt-6313a1324d08c937a5e55e77cbc91d1ade6d43c7.tar.gz
eclipse.platform.swt-6313a1324d08c937a5e55e77cbc91d1ade6d43c7.tar.xz
eclipse.platform.swt-6313a1324d08c937a5e55e77cbc91d1ade6d43c7.zip
Bug 537908: [GTK3] Warning about invalid signal for
GtkTextViewAccessible "attributes-changed" Only send "attributes-changed" signal on GTK2 instances of GtkTextViewAccessible. Change-Id: I47d79fa68ee8c0046f9ad436371c19f0bc112859 Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Accessibility')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
index 5e7ce5ff99..f9cea43919 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
@@ -4870,6 +4870,10 @@ class AccessibleObject {
OS.g_object_notify(atkHandle, ATK.accessible_hypertext_nlinks);
break;
case ACC.EVENT_ATTRIBUTE_CHANGED:
+ if (GTK.GTK3) {
+ long /*int*/ gType = OS.G_OBJECT_TYPE(atkHandle);
+ if (gType == GTK.GTK_TYPE_TEXT_VIEW_ACCESSIBLE()) break;
+ }
OS.g_signal_emit_by_name (atkHandle, ATK.attributes_changed);
break;
case ACC.EVENT_TABLE_CAPTION_CHANGED:

Back to the top