mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
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:
parent
d87468730b
commit
16353371f0
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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@";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue