I guess it didn't end... an attempt to try to recognize all types of tiff

* configure.in: I guess it didn't end... an attempt to try to recognize all
types of tiff configs

* app/gdisplay_ops.c: resize on zoom fix for naught window positioning from
Kevin Cozens <kcozens@interlog.com>

* app/errors.c: gdk_exit needs to be prototyped

-Yosh
This commit is contained in:
Manish Singh
1998-04-12 09:37:19 +00:00
parent 6ea6e68604
commit b520a3b9f0
5 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,13 @@
Sun Apr 12 02:23:05 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: I guess it didn't end... an attempt to try to
recognize all types of tiff configs
* app/gdisplay_ops.c: resize on zoom fix for naught window
positioning from Kevin Cozens <kcozens@interlog.com>
* app/errors.c: gdk_exit needs to be prototyped
Sun Apr 12 01:19:35 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: more fixes... when will it all end...

View File

@ -153,8 +153,8 @@ gdisplay_shrink_wrap (GDisplay *gdisp)
shell_width = width + border_x;
shell_height = height + border_y;
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, 0, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, 0, s_height));
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, border_x, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, border_y, s_height));
if (x != shell_x || y != shell_y)
gdk_window_move (gdisp->shell->window, x, y);
@ -182,8 +182,8 @@ gdisplay_shrink_wrap (GDisplay *gdisp)
shell_width = width + border_x;
shell_height = height + border_y;
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, 0, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, 0, s_height));
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, border_x, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, border_y, s_height));
if (x != shell_x || y != shell_y)
gdk_window_move (gdisp->shell->window, x, y);

View File

@ -25,6 +25,7 @@
#include <unistd.h>
#include <glib.h>
#include <gdk/gdk.h>
#include "app_procs.h"
#include "errors.h"

View File

@ -153,8 +153,8 @@ gdisplay_shrink_wrap (GDisplay *gdisp)
shell_width = width + border_x;
shell_height = height + border_y;
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, 0, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, 0, s_height));
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, border_x, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, border_y, s_height));
if (x != shell_x || y != shell_y)
gdk_window_move (gdisp->shell->window, x, y);
@ -182,8 +182,8 @@ gdisplay_shrink_wrap (GDisplay *gdisp)
shell_width = width + border_x;
shell_height = height + border_y;
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, 0, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, 0, s_height));
x = HIGHPASS (shell_x, BOUNDS (s_width - shell_width, border_x, s_width));
y = HIGHPASS (shell_y, BOUNDS (s_height - shell_height, border_y, s_height));
if (x != shell_x || y != shell_y)
gdk_window_move (gdisp->shell->window, x, y);

View File

@ -121,9 +121,13 @@ dnl Test for libtiff
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF header files not found) ***)),
AC_CHECK_LIB(tiff, TIFFWriteScanline,
AC_CHECK_HEADER(tiffio.h,
TIFF='tiff'; LIBTIFF_LIB='-ltiff -lz -ljpeg',
TIFF='tiff'; LIBTIFF_LIB='-ltiff -ljpeg',
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF header files not found) ***)),
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF library not found) ***), -lz -ljpeg -lm), -lm)
AC_CHECK_LIB(tiff, TIFFFlushData,
AC_CHECK_HEADER(tiffio.h,
TIFF='tiff'; LIBTIFF_LIB='-ltiff -ljpeg -lz',
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF header files not found) ***)),
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF library not found) ***), -ljpeg -lz -lm), -ljpeg -lm), -lm)
fi
dnl Test for libjpeg