mirror of https://github.com/GNOME/gimp.git
Show also GEGL versions (if available).
2008-02-26 Tor Lillqvist <tml@novell.com> * app/version.c (gimp_show_library_versions): Show also GEGL versions (if available). svn path=/trunk/; revision=24973
This commit is contained in:
parent
fbbb82329e
commit
fd4a69e5a7
|
@ -1,3 +1,8 @@
|
||||||
|
2008-02-26 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* app/version.c (gimp_show_library_versions): Show also GEGL
|
||||||
|
versions (if available).
|
||||||
|
|
||||||
2008-02-26 Sven Neumann <sven@gimp.org>
|
2008-02-26 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/print/print-preview.c: create a Cairo image surface
|
* plug-ins/print/print-preview.c: create a Cairo image surface
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include <fontconfig/fontconfig.h>
|
#include <fontconfig/fontconfig.h>
|
||||||
#include <pango/pango.h>
|
#include <pango/pango.h>
|
||||||
#include <pango/pangoft2.h>
|
#include <pango/pangoft2.h>
|
||||||
|
#include <gegl.h>
|
||||||
|
|
||||||
#include "libgimpbase/gimpbase.h"
|
#include "libgimpbase/gimpbase.h"
|
||||||
|
|
||||||
|
@ -62,6 +63,10 @@ gimp_show_one_library_version (const gchar *package,
|
||||||
static void
|
static void
|
||||||
gimp_show_library_versions (void)
|
gimp_show_library_versions (void)
|
||||||
{
|
{
|
||||||
|
#ifdef GEGL_MAJOR_VERSION
|
||||||
|
int gegl_major_version, gegl_minor_version, gegl_micro_version;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GIMP_CONSOLE_COMPILATION
|
#ifndef GIMP_CONSOLE_COMPILATION
|
||||||
gimp_show_one_library_version
|
gimp_show_one_library_version
|
||||||
("GTK+",
|
("GTK+",
|
||||||
|
@ -80,6 +85,13 @@ gimp_show_library_versions (void)
|
||||||
("Fontconfig",
|
("Fontconfig",
|
||||||
FC_MAJOR, FC_MINOR, FC_REVISION,
|
FC_MAJOR, FC_MINOR, FC_REVISION,
|
||||||
FcGetVersion () / 100 / 100, FcGetVersion () / 100 % 100, FcGetVersion () % 100);
|
FcGetVersion () / 100 / 100, FcGetVersion () / 100 % 100, FcGetVersion () % 100);
|
||||||
|
#ifdef GEGL_MAJOR_VERSION
|
||||||
|
gegl_get_version (&gegl_major_version, &gegl_minor_version, &gegl_micro_version);
|
||||||
|
gimp_show_one_library_version
|
||||||
|
("GEGL",
|
||||||
|
GEGL_MAJOR_VERSION, GEGL_MINOR_VERSION, GEGL_MICRO_VERSION,
|
||||||
|
gegl_major_version, gegl_minor_version, gegl_micro_version);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue