Loupe/src/widgets
Christopher Davis 439286be40 general: Use std's OnceCell where possible
Rust's standard library now provides a drop-in replacement
for `OnceCell`. It requires no API changes from `once_cell`'s
version.

This commit replaces the version from `once_cell` with the
new `std` struct where possible. We still need to use
`once_cell` for properties until
https://github.com/gtk-rs/gtk-rs-core/pull/1113
is merged. We also still need it for Lazy until that lands.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/241>
2023-06-23 18:59:09 +00:00
..
image.rs general: Use std's OnceCell where possible 2023-06-23 18:59:09 +00:00
image_page.rs meta: Update copyright headers 2023-06-07 23:44:20 +02:00
image_view.rs general: Use std's OnceCell where possible 2023-06-23 18:59:09 +00:00
mod.rs src: Update or add auto generated license headers 2023-04-19 20:02:01 +02:00
print.rs decoder: Use glycin for image loading expect SVG 2023-06-07 20:21:28 +00:00
print_preview.rs src: Update or add auto generated license headers 2023-04-19 20:02:01 +02:00
properties_view.rs propertiesView: Disable open folder for non-native 2023-05-03 16:41:51 +00:00
sliding_view.rs general: Use std's OnceCell where possible 2023-06-23 18:59:09 +00:00