Skip to content

Commit

Permalink
Fix build, icon theme
Browse files Browse the repository at this point in the history
  • Loading branch information
arteme committed Dec 1, 2024
1 parent 334d06d commit 9cfe5df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/collect-gtk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ICONS_SRC_DIR=$SRC_DIR/icons
DIR=$1

GTK_THEME="Arc-Darker-solid"
ICON_THEME="Papirus"
ICON_THEME="Paper"
ICONS=(
# gtk
# collected from gtk 3.24 source tree:
Expand Down
4 changes: 2 additions & 2 deletions gui/src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ bitflags! {
// platform-specific default hack flags

#[cfg(target_os = "linux")]
static DEFAULT_HACK_FLAGS: PlatformHackFlags = PlatformHackFlags::empty();
const DEFAULT_HACK_FLAGS: PlatformHackFlags = PlatformHackFlags::empty();

#[cfg(target_os = "macos")]
const DEFAULT_HACK_FLAGS: PlatformHackFlags =
PlatformHackFlags::CUSTOM_MAIN_LOOP.union(PlatformHackFlags::OSX_RAISE);

#[cfg(target_os = "windows")]
static DEFAULT_HACK_FLAGS: PlatformHackFlags = PlatformHackFlags::empty();
const DEFAULT_HACK_FLAGS: PlatformHackFlags = PlatformHackFlags::empty();

pub(in crate::platform) fn platform_hack_flags() -> &'static mut PlatformHackFlags {
static mut FLAGS: OnceLock<PlatformHackFlags> = OnceLock::new();
Expand Down

0 comments on commit 9cfe5df

Please sign in to comment.