diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-11 19:04:02 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-11 20:39:39 +0200 |
commit | 4b5d16554b614069a89672dd282cf4eaeccb0d40 (patch) | |
tree | e21eaea71bd574eb1132c7e8a5fbd2b366709461 /gtk2_ardour/utils.h | |
parent | a3eed5839fffb2e3f2f3b6c928512af1ae0b6f83 (diff) |
Simplify screensaver inhibit API and fix OSX compatibility
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index d3e8e11fdc..dc7b975cc1 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -107,8 +107,7 @@ bool windows_overlap (Gtk::Window *a, Gtk::Window *b); bool overwrite_file_dialog (Gtk::Window& parent, std::string title, std::string text); bool running_from_source_tree (); -void enable_screensaver (); -void disable_screensaver (); +void inhibit_screensaver (bool); } // namespace #endif /* __ardour_gtk_utils_h__ */ |