Use GIMP_APP_VERSION.

2004-01-22  Tor Lillqvist  <tml@iki.fi>

	* gimptool-win32.c.in (get_prefix): Use GIMP_APP_VERSION.
This commit is contained in:
Tor Lillqvist 2004-01-22 08:34:37 +00:00 committed by Tor Lillqvist
parent d87468730b
commit 16353371f0
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2004-01-22 Tor Lillqvist <tml@iki.fi>
* gimptool-win32.c.in (get_prefix): Use GIMP_APP_VERSION.
2004-01-21 Manish Singh <yosh@gimp.org>
* m4macros/gimp-2.0.m4: quote AM_PATH_GIMP_2_O properly so automake

View file

@ -135,7 +135,7 @@ get_prefix (gchar slash)
char *p, *q, *r;
struct stat st;
path = g_find_program_in_path ("gimp-1.3.exe");
path = g_find_program_in_path ("gimp-@GIMP_APP_VERSION@.exe");
if (path == NULL)
path = g_find_program_in_path ("gimp.exe");
@ -161,7 +161,7 @@ get_prefix (gchar slash)
}
}
fprintf (stderr, "Cannot determine GIMP @GIMP_MAJOR_VERSION@.@GIMP_MINOR_VERSION@ installation location\n");
fprintf (stderr, "Cannot determine GIMP @GIMP_APP_VERSION@ installation location\n");
exit (1);
#else
return "@prefix@";