diff options
author | Alexander Kurtakov | 2018-01-03 13:49:59 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-01-03 15:32:03 +0000 |
commit | fe15f6e877a8237d16791c479b16a7e61cfa791c (patch) | |
tree | 5eb214b174a7d35be1760e3ed4540eb7a01f26e8 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | |
parent | 96c0e2276acff23e4f98ad06eb3718778ac2713f (diff) | |
download | eclipse.platform.swt-fe15f6e877a8237d16791c479b16a7e61cfa791c.tar.gz eclipse.platform.swt-fe15f6e877a8237d16791c479b16a7e61cfa791c.tar.xz eclipse.platform.swt-fe15f6e877a8237d16791c479b16a7e61cfa791c.zip |
Bug 529371 - Move atk_object_[add|remove]* into ATK
They belong there and further more they don't have to be dynamic
functions as they were introduced in ATK 1.1.1 while GTK 2.24 requires
1.29.2+.
Change-Id: Id418f45aae0d01059af8c1391d820165cd765b12
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index b640eb49a6..c25f47ae84 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. All rights reserved. + * Copyright (c) 2000, 2018 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 @@ -16351,36 +16351,6 @@ public static final long /*int*/ ubuntu_menu_proxy_get() { } } /** - * @method flags=dynamic - * @param object cast=(AtkObject *) - * @param relationship cast=(AtkRelationType) - * @param target cast=(AtkObject *) - */ -public static final native boolean _atk_object_add_relationship (long /*int*/ object, int relationship, long /*int*/ target); -public static final boolean atk_object_add_relationship (long /*int*/ object, int relationship, long /*int*/ target) { - lock.lock(); - try { - return _atk_object_add_relationship(object, relationship, target); - } finally { - lock.unlock(); - } -} -/** - * @method flags=dynamic - * @param object cast=(AtkObject *) - * @param relationship cast=(AtkRelationType) - * @param target cast=(AtkObject *) - */ -public static final native boolean _atk_object_remove_relationship (long /*int*/ object, int relationship, long /*int*/ target); -public static final boolean atk_object_remove_relationship (long /*int*/ object, int relationship, long /*int*/ target) { - lock.lock(); - try { - return _atk_object_remove_relationship(object, relationship, target); - } finally { - lock.unlock(); - } -} -/** * @param path cast=(const char*) */ public static final native int _access (byte [] path, int amode); |