Bug 547227: [GTK3] Group widget causes memory leak and slowdown

Do not call g_object_ref() before/after g_object_ref_sink(). GObject
already adds a reference when calling g_object_ref_sink().

Tested using a child Eclipse, and the snippet provided. No AllNonBrowser
JUnit tests fail.

Test environment: Fedora 30, GTK3.24, Wayland.

Change-Id: I3c6b0222e7342626439688883142cd646857a1ba
Signed-off-by: Eric Williams <ericwill@redhat.com>
4 files changed
tree: 5939ab0b0c7e5029aec5041709d59e0dc81d6501
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. CONTRIBUTING
  8. LICENSE
  9. NOTICE
  10. pom.xml
  11. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

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.

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!