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:
parent
430a49ebc2
commit
f09259f6de
7 changed files with 9 additions and 9 deletions
|
|
@ -923,7 +923,7 @@ pub(super) unsafe extern "system" fn public_window_callback<T: 'static>(
|
|||
};
|
||||
|
||||
if userdata_removed && recurse_depth == 0 {
|
||||
Box::from_raw(userdata_ptr);
|
||||
drop(Box::from_raw(userdata_ptr));
|
||||
}
|
||||
|
||||
result
|
||||
|
|
@ -2154,7 +2154,7 @@ unsafe fn public_window_callback_inner<T: 'static>(
|
|||
|
||||
if window_state.current_theme != new_theme {
|
||||
window_state.current_theme = new_theme;
|
||||
mem::drop(window_state);
|
||||
drop(window_state);
|
||||
userdata.send_event(Event::WindowEvent {
|
||||
window_id: RootWindowId(WindowId(window)),
|
||||
event: ThemeChanged(new_theme),
|
||||
|
|
@ -2413,7 +2413,7 @@ unsafe extern "system" fn thread_event_target_callback<T: 'static>(
|
|||
.catch_unwind(callback)
|
||||
.unwrap_or(-1);
|
||||
if userdata_removed {
|
||||
mem::drop(userdata);
|
||||
drop(userdata);
|
||||
} else {
|
||||
Box::into_raw(userdata);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue