summaryrefslogtreecommitdiffstats
path: root/macosx/HBImageAndTextCell.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-06-10 09:12:18 +0200
committerDamiano Galassi <[email protected]>2018-06-10 09:12:18 +0200
commit0e8eb04fd769fa471b71e5e5f81b55c47537d694 (patch)
tree5597113cd9a93a437af03859b38a22e2ea424f40 /macosx/HBImageAndTextCell.m
parentd3cd483eeddd8726bad862e811b31f75c1fad965 (diff)
MacGui: fix another round of deprecation warnings. Remove drawer code.
Diffstat (limited to 'macosx/HBImageAndTextCell.m')
-rw-r--r--macosx/HBImageAndTextCell.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBImageAndTextCell.m b/macosx/HBImageAndTextCell.m
index b0c400edb..5aebf9cf7 100644
--- a/macosx/HBImageAndTextCell.m
+++ b/macosx/HBImageAndTextCell.m
@@ -194,7 +194,7 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect)
}
- [image drawAtPoint:imageFrame.origin fromRect:imageFrame operation:NSCompositeSourceOver fraction:1.0];
+ [image drawAtPoint:imageFrame.origin fromRect:imageFrame operation:NSCompositingOperationSourceOver fraction:1.0];
}
[super drawWithFrame:cellFrame inView:controlView];