commit | 7e5f98bb2b5f6f1dadb9ec6a9723c4817caab045 | [log] [tgz] |
---|---|---|
author | Ian Pun <ipun@redhat.com> | Mon Jun 13 14:50:39 2016 -0400 |
committer | Eric Williams <ericwill@redhat.com> | Thu Jun 23 13:59:19 2016 -0400 |
tree | 1d7d2fbd842298ea5fc3268c96e0e04613fef23e | |
parent | 3df7914e708c9f0930766ef4855d5f1c32429635 [diff] |
Bug 495909 - [GTK3.20+] test_setTopItemLorg_eclipse_swt_widgets_TreeItem() fails Referring to bug Bug 461354, I used a topIndex variable to keep track of the top item. Check to see if there has been any scrolling changes done by the user, and if not, return the topIndex variable. We can keep track of scrolling changes by using a cachedAdjustment variable with a currentAdjustment variable grabbed with GTK functions. This optimization has also been adapted on the Table widget. Tested on GTK 2, 3.14, .16, .18, and .20. Change-Id: Icf5ebbf3b075ab06f54914c1c753041c9205f820 Signed-off-by: Ian Pun <ipun@redhat.com>
Thanks for your interest in this project.
Information regarding source code management, builds, coding standards, and more.
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!