checkVersion

fnbool checkVersion(uint major, uint minor, uint micro)

Like GTK_SOURCE_CHECK_VERSION, but the check for gtk_source_check_version is at runtime instead of compile time. This is useful for compiling against older versions of GtkSourceView, but using features from newer versions.

Parameters

majorthe major version to check
minorthe minor version to check
microthe micro version to check

Returns

true if the version of the GtkSourceView currently loaded

is the same as or newer than the passed-in version.