app: use GIMP_VERSION for version comparison.
commitb9b8676cb8e9bf6833a86240989ccb7281cf2b68
authorJehan <jehan@girinstud.io>
Tue, 3 Jul 2018 11:26:23 +0000 (3 13:26 +0200)
committerJehan <jehan@girinstud.io>
Sat, 7 Jul 2018 14:10:50 +0000 (7 16:10 +0200)
tree28723809f8eb707c90b2acb245b7a5eb191f6d2a
parent9fae08595d7296639d759acb1147a92a933d993b
app: use GIMP_VERSION for version comparison.

GIMP_APP_VERSION does not include the micro version.
Also make version comparison with org.gimp.GIMP mandatory to force good
practice. This way, extension makers will have to advertize the version
of GIMP it works for, which will make a sane ecosystem of working
extensions only (hopefully!).
app/core/Makefile.am
app/core/gimpextension.c