mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
Use NullCheckedInvocation in more places
This commit is contained in:
parent
84750f2f2a
commit
ff0cb4ad5b
46 changed files with 145 additions and 258 deletions
|
|
@ -2261,8 +2261,7 @@ void XWindowSystem::setScreenSaverEnabled (bool enabled) const
|
|||
|
||||
XWindowSystemUtilities::ScopedXLock xLock;
|
||||
|
||||
if (xScreenSaverSuspend != nullptr)
|
||||
xScreenSaverSuspend (display, ! enabled);
|
||||
NullCheckedInvocation::invoke (xScreenSaverSuspend, display, ! enabled);
|
||||
}
|
||||
|
||||
Point<float> XWindowSystem::getCurrentMousePosition() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue