Bug 498165 - [GTK3] Stackoverflow using MeasureItem listener

gtk_tree_view_column_cell_get_position() method is signaling into the
redererGetPreferredWidthCallback every time it is run, causing a
recursive loop when MeasuredEvent has a listener in GTK3. I've disabled
and re-enabled the callback when calling
gtk_tree_view_column_cell_get_position() in a private method
gtk_tree_view_column_get_position() to fix this issue.

Tested on GTK3.14 -> GTK3.21+ and GTK2.

Change-Id: I0abd12c968a777c05c0456bd98c2c9c778e11f81
Signed-off-by: Ian Pun <ipun@redhat.com>
5 files changed
tree: 8a64969b0837b25b63eefb64d33901269ede9ec5
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

Information regarding source code management, builds, coding standards, and more.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!