From e48e1f4f081a2c84addc604136c4383bb92de8c6 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sat, 13 Aug 2011 16:08:22 +0200 Subject: Implement setting the progress monitor. --- dmagick/ImageView.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmagick/ImageView.d') diff --git a/dmagick/ImageView.d b/dmagick/ImageView.d index 2428b24..61600b9 100644 --- a/dmagick/ImageView.d +++ b/dmagick/ImageView.d @@ -165,10 +165,10 @@ class ImageView if ( result ) return result; - if ( image.imageRef.progress_monitor !is null ) + if ( image.monitor !is null ) { atomicOp!"+="(progress, 1); - image.imageRef.progress_monitor(toStringz("ImageView/" ~ image.filename), progress, extent.height, image.imageRef.client_data); + image.monitor()("ImageView/" ~ image.filename, progress, extent.height); } } -- cgit v1.2.3