<refentry id="gdk-pixbuf-Versioning">
<refmeta>
<refentrytitle>Initialization and Versions</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GDK-PIXBUF Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Initialization and Versions</refname><refpurpose>
Library version numbers.</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>

#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;



extern      const char *<link linkend="gdk-pixbuf-version">gdk_pixbuf_version</link>;
#define     <link linkend="GDK-PIXBUF-VERSION-CAPS">GDK_PIXBUF_VERSION</link>
#define     <link linkend="GDK-PIXBUF-MAJOR-CAPS">GDK_PIXBUF_MAJOR</link>
#define     <link linkend="GDK-PIXBUF-MINOR-CAPS">GDK_PIXBUF_MINOR</link>
#define     <link linkend="GDK-PIXBUF-MICRO-CAPS">GDK_PIXBUF_MICRO</link>
</synopsis>
</refsynopsisdiv>





<refsect1>
<title>Description</title>
<para>
These macros and variables let you check the version of &gdk-pixbuf;
you're linking against.
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="gdk-pixbuf-version">gdk_pixbuf_version</title>
<programlisting>extern const char *gdk_pixbuf_version;
</programlisting>
<para>
Contains the full version of the &gdk-pixbuf; library as a string.
This is the version currently in use by a running program.
</para></refsect2>
<refsect2>
<title><anchor id="GDK-PIXBUF-VERSION-CAPS">GDK_PIXBUF_VERSION</title>
<programlisting>#define GDK_PIXBUF_VERSION "2.0.6"
</programlisting>
<para>
Contains the full version of the &gdk-pixbuf; header as a string.
This is the version being compiled against; contrast with
<link linkend="gdk-pixbuf-version">gdk_pixbuf_version</link>.
</para></refsect2>
<refsect2>
<title><anchor id="GDK-PIXBUF-MAJOR-CAPS">GDK_PIXBUF_MAJOR</title>
<programlisting>#define GDK_PIXBUF_MAJOR (2)
</programlisting>
<para>
Major version of &gdk-pixbuf; library, that is the first "0" in
"0.8.0" for example.
</para></refsect2>
<refsect2>
<title><anchor id="GDK-PIXBUF-MINOR-CAPS">GDK_PIXBUF_MINOR</title>
<programlisting>#define GDK_PIXBUF_MINOR (0)
</programlisting>
<para>
Minor version of &gdk-pixbuf; library, that is the "8" in
"0.8.0" for example.
</para></refsect2>
<refsect2>
<title><anchor id="GDK-PIXBUF-MICRO-CAPS">GDK_PIXBUF_MICRO</title>
<programlisting>#define GDK_PIXBUF_MICRO (6)
</programlisting>
<para>
Micro version of &gdk-pixbuf; library, that is the last "0" in
"0.8.0" for example.
</para></refsect2>

</refsect1>




</refentry>
