we check for the same version of freetype on all platforms, no need for an

2004-11-30  Sven Neumann  <sven@gimp.org>

	* app/sanity.c: we check for the same version of freetype on all
	platforms, no need for an ifdef here.
This commit is contained in:
Sven Neumann 2004-11-30 01:47:41 +00:00 committed by Sven Neumann
parent c3e68d0c0d
commit 4a59b0ec7a
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2004-11-30 Sven Neumann <sven@gimp.org>
* app/sanity.c: we check for the same version of freetype on all
platforms, no need for an ifdef here.
2004-11-30 Sven Neumann <sven@gimp.org>
* libgimp/gimpexport.c: some more HIG-ification tweaks to the

View File

@ -137,15 +137,9 @@ sanity_check_freetype (void)
FT_Int ft_micro_version;
FT_Int ft_version;
#ifdef G_OS_WIN32
#define FT_REQUIRED_MAJOR 2
#define FT_REQUIRED_MINOR 1
#define FT_REQUIRED_MICRO 7
#else
#define FT_REQUIRED_MAJOR 2
#define FT_REQUIRED_MINOR 1
#define FT_REQUIRED_MICRO 7
#endif
if (FT_Init_FreeType (&ft_library) != 0)
g_error ("FT_Init_FreeType() failed");