Returns an integer with the major version of GNOME.
Useful for dynamic languages like Javascript or Python (static languages like C should use gnome_desktop_platform_version). If this function doesn't exist, it can be presumed that the GNOME platform version is 42 or previous.
|
an integer with the major version of GNOME. |