diff options
Diffstat (limited to 'dmagick/ImageView.d')
| -rw-r--r-- | dmagick/ImageView.d | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |
