Bug 529352 (swtGdbusBindingsInCommonCode) part 2/2 Move funcs.

- Moved GDBus function into OS.java
- Making dynamic functions non-dynamic. All functions are since
  2.24 or 2.26 (Gtk2 minimum is 2.28). So static functions are OK.
- Found a cast bug. (int should have been a long). Phew, this could
  have caused very strange crasher! Making functions static helps
  prevent such bugs as we get compile errors!
- Added comment about gtk/glib link and how to find.

Verified with recompile and webkit2 jUnits.

Patchset 3:
- Removing asserts from static glib function.
- Adding assert to a dynamic glib function.
- Adding guard in webkit to prevent jvm crasher.
- Observe glib/gtk comment explaining how gtk/glib lik on OS.java:786

Patchest 5:
- changed to min glib version instead of gtk versions as older gtk
  can use newer glib.
- Updated comment to reflect this one-way link.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=529352
Change-Id: Ibddc0e315334958f3f89871f7a5e57925a5b5282
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
10 files changed
tree: ebcae826bd8cbb09d09c807c399238afef67be12
  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:

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!