Adw.get_major_version
Description: Reference for Adw.get_major_version

### Function

# Adwget_major_version

#### Declaration [src]

    guint
    adw_get_major_version (
      void
    )

#### Description [src]

Returns the major version number of the Adwaita library.

For example, in libadwaita version 1.2.3 this is 1.

This function is in the library, so it represents the libadwaita library your code is running against. Contrast with the `ADW_MAJOR_VERSION` constant, which represents the major version of the libadwaita headers you have included when compiling your code.

#### Return value

Type: `guint`

The major version number of the Adwaita library.