Bump sctk-adwaita to 0.4.1

This should force the use of system libraries for Fontconfig
and freetype instead of building them with cmake if missing.

This also fixes compilation failures on nightly.

Fixes #2373.
This commit is contained in:
Kirill Chibisov 2022-07-20 11:50:49 +03:00 committed by GitHub
parent 430a49ebc2
commit f09259f6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

View file

@ -80,7 +80,7 @@ impl FileDropHandler {
let count = drop_handler.refcount.fetch_sub(1, Ordering::Release) - 1;
if count == 0 {
// Destroy the underlying data
Box::from_raw(drop_handler as *mut FileDropHandlerData);
drop(Box::from_raw(drop_handler as *mut FileDropHandlerData));
}
count as u32
}