diff options
author | Leo Ufimtsev | 2018-05-03 15:27:12 +0000 |
---|---|---|
committer | Leo Ufimtsev | 2018-05-03 15:29:04 +0000 |
commit | 00318764ff85d3caa5dcb215a7fcc568e70f47ad (patch) | |
tree | 4567525be53754eb87fd1699e9302bd2a89a5a49 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk | |
parent | 3b871dbaca01b0bfa4dade0a4713684d07f25402 (diff) | |
download | eclipse.platform.swt-00318764ff85d3caa5dcb215a7fcc568e70f47ad.tar.gz eclipse.platform.swt-00318764ff85d3caa5dcb215a7fcc568e70f47ad.tar.xz eclipse.platform.swt-00318764ff85d3caa5dcb215a7fcc568e70f47ad.zip |
Bug 534089 – [GTK3] Tabfolder setControl(..) breaks with a table that
has composite controls.
Temporarily make use of the deprecated gtk_widget_reparent(..)
as alternative fix would require deep investigation and we need
something functional for photon.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=5340893
Change-Id: I351518383ce77343ccd10e1f1a45750e5663d5c8
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java index f361fc1325..ef0023c904 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java @@ -9085,7 +9085,6 @@ public class GTK extends OS { public static final native void _gtk_widget_reparent(long /*int*/ widget, long /*int*/ new_parent); /** deprecated as of 3.14 */ public static final void gtk_widget_reparent(long /*int*/ widget, long /*int*/ new_parent) { - assert !GTK3; // On Gtk3, use Control.gtk_widget_reparent(..); lock.lock(); try { _gtk_widget_reparent(widget, new_parent); |