cd-version: colord-gtk Reference Manual

## cd-version cd-version — Obtains the version for the installed colord |

## Functions

#define | CD_CHECK_VERSION()

## Types and Values

#define | CD_GTK_MAJOR_VERSION
#define | CD_GTK_MINOR_VERSION
#define | CD_GTK_MICRO_VERSION

## Description

These compile time macros allow the user to enable parts of client code depending on the version of libcolord installed.

See also: CdClient, CdDevice

## Functions

### CD_CHECK_VERSION()

    #define             CD_CHECK_VERSION(major,minor,micro)

Check whether a colord version equal to or greater than major.minor.micro.

## Types and Values

### CD_GTK_MAJOR_VERSION

    #define CD_GTK_MAJOR_VERSION				(0)

The compile-time major version

### CD_GTK_MINOR_VERSION

    #define CD_GTK_MINOR_VERSION				(3)

The compile-time minor version

### CD_GTK_MICRO_VERSION

    #define CD_GTK_MICRO_VERSION				(0)

The compile-time micro version