commit | 777a52d4d7dac729ba95cbfd8e09c9174a5d64c2 | [log] [tgz] |
---|---|---|
author | Eric Williams <ericwill@redhat.com> | Fri Feb 09 16:36:46 2018 -0500 |
committer | Eric Williams <ericwill@redhat.com> | Mon Feb 12 14:39:07 2018 -0500 |
tree | ab8ebe38b030ba41e5dc5e72b54b8080ef381410 | |
parent | da784537d1cd1e9a3d177d19e9dc4273f84814eb [diff] |
Bug 530969: [GTK3] Control.print() doesn't seem to work In GTK3, gtk_widget_draw() relies on the priv->alloc_needed flag to be set to TRUE. This is an internal flag in a private struct so we cannot access it. The fix is to the get the topHandle's allocation, and simply re-set it. This triggers an allocation change without actually changing the size of the widget. Tested on GTK3.8+. No JUnit test failures. Change-Id: I81df53bfceaa988a2cce574ef7629c64c0ec6fb9 Signed-off-by: Eric Williams <ericwill@redhat.com>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!