manpagez: man pages & more
html files: gdk-pixbuf
Home | html | info | man

Initialization and Versions

Initialization and Versions — Library version numbers.

Includes

#include <gdk-pixbuf/gdk-pixbuf.h>

Description

These macros and variables let you check the version of gdk-pixbuf you're linking against.

Functions

Types and Values

gdk_pixbuf_version

extern const char *gdk_pixbuf_version;

Contains the full version of the gdk-pixbuf library as a string. This is the version currently in use by a running program.


gdk_pixbuf_major_version

extern const guint gdk_pixbuf_major_version;

The major version number of the gdk-pixbuf library. (e.g. in gdk-pixbuf version 1.2.5 this is 1.)

This variable is in the library, so represents the gdk-pixbuf library you have linked against. Contrast with the GDK_PIXBUF_MAJOR macro, which represents the major version of the gdk-pixbuf headers you have included.


gdk_pixbuf_minor_version

extern const guint gdk_pixbuf_minor_version;

The minor version number of the gdk-pixbuf library. (e.g. in gdk-pixbuf version 1.2.5 this is 2.)

This variable is in the library, so represents the gdk-pixbuf library you have linked against. Contrast with the GDK_PIXBUF_MINOR macro, which represents the minor version of the gdk-pixbuf headers you have included.


gdk_pixbuf_micro_version

extern const guint gdk_pixbuf_micro_version;

The micro version number of the gdk-pixbuf library. (e.g. in gdk-pixbuf version 1.2.5 this is 5.)

This variable is in the library, so represents the gdk-pixbuf library you have linked against. Contrast with the GDK_PIXBUF_MICRO macro, which represents the micro version of the gdk-pixbuf headers you have included.


GDK_PIXBUF_VERSION

#define GDK_PIXBUF_VERSION "2.36.6"

Contains the full version of the gdk-pixbuf header as a string. This is the version being compiled against; contrast with gdk_pixbuf_version.


GDK_PIXBUF_MAJOR

#define GDK_PIXBUF_MAJOR (2)

Major version of gdk-pixbuf library, that is the "0" in "0.8.2" for example.


GDK_PIXBUF_MINOR

#define GDK_PIXBUF_MINOR (36)

Minor version of gdk-pixbuf library, that is the "8" in "0.8.2" for example.


GDK_PIXBUF_MICRO

#define GDK_PIXBUF_MICRO (6)

Micro version of gdk-pixbuf library, that is the "2" in "0.8.2" for example.


GDK_PIXBUF_VERSION_2_0

#define GDK_PIXBUF_VERSION_2_0 (G_ENCODE_VERSION (2, 0))

A macro that evaluates to the 2.0 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_2

#define GDK_PIXBUF_VERSION_2_2 (G_ENCODE_VERSION (2, 2))

A macro that evaluates to the 2.2 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_4

#define GDK_PIXBUF_VERSION_2_4 (G_ENCODE_VERSION (2, 4))

A macro that evaluates to the 2.4 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_6

#define GDK_PIXBUF_VERSION_2_6 (G_ENCODE_VERSION (2, 6))

A macro that evaluates to the 2.6 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_8

#define GDK_PIXBUF_VERSION_2_8 (G_ENCODE_VERSION (2, 8))

A macro that evaluates to the 2.8 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_10

#define GDK_PIXBUF_VERSION_2_10 (G_ENCODE_VERSION (2, 10))

A macro that evaluates to the 2.10 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_12

#define GDK_PIXBUF_VERSION_2_12 (G_ENCODE_VERSION (2, 12))

A macro that evaluates to the 2.12 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_14

#define GDK_PIXBUF_VERSION_2_14 (G_ENCODE_VERSION (2, 14))

A macro that evaluates to the 2.14 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_16

#define GDK_PIXBUF_VERSION_2_16 (G_ENCODE_VERSION (2, 16))

A macro that evaluates to the 2.16 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_18

#define GDK_PIXBUF_VERSION_2_18 (G_ENCODE_VERSION (2, 18))

A macro that evaluates to the 2.18 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_20

#define GDK_PIXBUF_VERSION_2_20 (G_ENCODE_VERSION (2, 20))

A macro that evaluates to the 2.20 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_22

#define GDK_PIXBUF_VERSION_2_22 (G_ENCODE_VERSION (2, 22))

A macro that evaluates to the 2.22 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_24

#define GDK_PIXBUF_VERSION_2_24 (G_ENCODE_VERSION (2, 24))

A macro that evaluates to the 2.24 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_26

#define GDK_PIXBUF_VERSION_2_26 (G_ENCODE_VERSION (2, 26))

A macro that evaluates to the 2.26 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_28

#define GDK_PIXBUF_VERSION_2_28 (G_ENCODE_VERSION (2, 28))

A macro that evaluates to the 2.28 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_30

#define GDK_PIXBUF_VERSION_2_30 (G_ENCODE_VERSION (2, 30))

A macro that evaluates to the 2.30 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_32

#define GDK_PIXBUF_VERSION_2_32 (G_ENCODE_VERSION (2, 32))

A macro that evaluates to the 2.32 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_34

#define GDK_PIXBUF_VERSION_2_34 (G_ENCODE_VERSION (2, 34))

A macro that evaluates to the 2.34 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_2_36

#define GDK_PIXBUF_VERSION_2_36 (G_ENCODE_VERSION (2, 36))

A macro that evaluates to the 2.36 version of GdkPixbuf, in a format that can be used by the C pre-processor.

Since: 2.36


GDK_PIXBUF_VERSION_MIN_REQUIRED

#define GDK_PIXBUF_VERSION_MIN_REQUIRED (GDK_PIXBUF_VERSION_CUR_STABLE)

A macro that should be defined by the user prior to including the gdk-pixbuf.h header. The definition should be one of the predefined version macros: GDK_PIXBUF_VERSION_2_0, GDK_PIXBUF_VERSION_2_2, ...

This macro defines the lower bound for the GdkPixbuf API to use.

If a function has been deprecated in a newer version of GdkPixbuf, defining this symbol hides the compiler warnings for those functions without disabling warnings for the other deprecated functions.

<warning> Warning: if you define this macro, do not forget to update it! Especially when writing new code. Otherwise you can miss the new deprecations. </warning>

Since: 2.36


GDK_PIXBUF_VERSION_MAX_ALLOWED

#define GDK_PIXBUF_VERSION_MAX_ALLOWED  GDK_PIXBUF_VERSION_MIN_REQUIRED

A macro that should be defined by the user prior to including the gdk-pixbuf.h header. The definition should be one of the predefined version macros: GDK_PIXBUF_VERSION_2_0, GDK_PIXBUF_VERSION_2_2, ...

This macro defines the upper bound for the GdkPixbuf API to use.

If a function has been introduced in a newer version of GdkPixbuf, it is possible to use this symbol to get compiler warnings when trying to use that function.

Since: 2.36

© manpagez.com 2000-2017
Individual documents may contain additional copyright information.