diff options
author | Eric Williams | 2016-01-19 20:16:57 +0000 |
---|---|---|
committer | Eric Williams | 2016-02-09 19:00:42 +0000 |
commit | 1a375bfbb7dca92b102db09891a18eeb80d671f2 (patch) | |
tree | eaecd01c48edae377261de3d582f365c22ae9c8f /bundles/org.eclipse.swt/Eclipse SWT AWT | |
parent | 6ee654cf704fbc03f958bcbc3188ef4cf822db70 (diff) | |
download | eclipse.platform.swt-1a375bfbb7dca92b102db09891a18eeb80d671f2.tar.gz eclipse.platform.swt-1a375bfbb7dca92b102db09891a18eeb80d671f2.tar.xz eclipse.platform.swt-1a375bfbb7dca92b102db09891a18eeb80d671f2.zip |
Bug 486069: [Wayland] NullPointerException in TabFolder when running
ControlExample
This patch adds a missing logic check to prevent a GtkNotebook from
switching to a page that doesn't exist. Wayland seems to trigger an
early page switch, causing gtk_notebook_get_current_page() to return -1.
This will cause a NullPointerException in TabFolder.gtk_switch_page().
Tested on GTK3.19.6, and 3.18. AllNonBrowser JUnit tests pass on
GTK3.19.6 (with the exception of an unrelated previously failing test
case).
Change-Id: I720a7b08c0b49bebce15951f5d5deb00a2304839
Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT')
0 files changed, 0 insertions, 0 deletions