Skip to content

Commit d8af7f4

Browse files
committed
MacOSPlatform: avoid deprecated method call
1 parent 7654e1b commit d8af7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/plugins/platforms/macos/MacOSPlatform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void configure(final PlatformService service) {
9292
if (SCREEN_MENU) removeAppCommandsFromMenu();
9393

9494
// translate macOS application events into ImageJ events
95-
final EventService eventService = getPlatformService().getEventService();
95+
final EventService eventService = getPlatformService().eventService();
9696
try {
9797
appEventDispatcher = new MacOSAppEventDispatcher(eventService);
9898
}

0 commit comments

Comments
 (0)