remove a couple of IMAGE

still loads left, of course
This commit is contained in:
John Cupitt 2016-04-13 15:00:17 +01:00
parent 2c646a02e4
commit 1627440a37
2 changed files with 6 additions and 6 deletions

View File

@ -246,7 +246,7 @@ vips__region_start( VipsRegion *region )
void void
vips__region_stop( VipsRegion *region ) vips__region_stop( VipsRegion *region )
{ {
IMAGE *image = region->im; VipsImage *image = region->im;
if( region->seq && image->stop_fn ) { if( region->seq && image->stop_fn ) {
int result; int result;
@ -1390,7 +1390,7 @@ static int
vips_region_prepare_to_generate( VipsRegion *reg, vips_region_prepare_to_generate( VipsRegion *reg,
VipsRegion *dest, VipsRect *r, int x, int y ) VipsRegion *dest, VipsRect *r, int x, int y )
{ {
IMAGE *im = reg->im; VipsImage *im = reg->im;
VipsPel *p; VipsPel *p;
if( !im->generate_fn ) { if( !im->generate_fn ) {

View File

@ -131,7 +131,7 @@ vips_window_free( VipsWindow *window )
int int
vips_window_unref( VipsWindow *window ) vips_window_unref( VipsWindow *window )
{ {
IMAGE *im = window->im; VipsImage *im = window->im;
g_mutex_lock( im->sslock ); g_mutex_lock( im->sslock );
@ -269,7 +269,7 @@ vips_window_set( VipsWindow *window, int top, int height )
/* Make a new window. /* Make a new window.
*/ */
static VipsWindow * static VipsWindow *
vips_window_new( IMAGE *im, int top, int height ) vips_window_new( VipsImage *im, int top, int height )
{ {
VipsWindow *window; VipsWindow *window;
@ -320,7 +320,7 @@ vips_window_fits( VipsWindow *window, request_t *req )
/* Find an existing window that fits within top/height and return a ref. /* Find an existing window that fits within top/height and return a ref.
*/ */
static VipsWindow * static VipsWindow *
vips_window_find( IMAGE *im, int top, int height ) vips_window_find( VipsImage *im, int top, int height )
{ {
request_t req; request_t req;
VipsWindow *window; VipsWindow *window;
@ -346,7 +346,7 @@ vips_window_find( IMAGE *im, int top, int height )
/* Return a ref to a window that encloses top/height. /* Return a ref to a window that encloses top/height.
*/ */
VipsWindow * VipsWindow *
vips_window_ref( IMAGE *im, int top, int height ) vips_window_ref( VipsImage *im, int top, int height )
{ {
VipsWindow *window; VipsWindow *window;