Community
Participate
Working Groups
This will effectively allow trying to start against any major version of Gtk bigger than 3. Considering that it would be fairly hard work to compile/link against such version trying to run is not a problem. It's done this way because gtk_check_version returns false if the major version is different no matter higher or lower but we need a way to try running against multiple major version from the java side. Commit/patch: http://fedorapeople.org/cgit/akurtakov/public_git/eclipse.platform.swt.git/commit/?h=gtk_check_version&id=ba4b859681ebeff75830fe419edf3d7cb2cbc6b1
Silenio, I would like to hear your opinion on that.
I do not see why this is necessary at this point. The code is just printing a warning to the console. We need better checking once we are running GTK 3.
Well, I found it while trying to run stripped down swt on top of gtk3 and this bug is part of the initial errors and warnings I met. What better checks do you think of ?
I think we would call gtk_check_version(2, 10, 0) when running against GTK2 (we are increase the version to 2.10 in Eclipse 4.3) and gtk_check_version(3, 0, 0) when running against GTK3. The exact GTK 3 version I am not sure yet. Do we actually run on 3.0.0?
I don't think we used anything thatrequires newer than 3.0.0. We do not run yet, there is still a lot of work to do. But we are getting closer.
Fixed http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=cad161b601904ce31d625ed62fb14d925e12dcbf