Skip to content

Commit

Permalink
Fix compile error on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaelers committed Sep 17, 2024
1 parent 206370a commit 1fd5e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/toolkits/gtkmm/preferences/GeneralPreferencePanel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ GeneralPreferencePanel::create_panel()
panel->set_border_width(12);
}

#if defined(PLATFORM_OS_WINDOWS)
void
GeneralPreferencePanel::on_block_changed()
{
Expand All @@ -286,8 +285,8 @@ GeneralPreferencePanel::on_block_changed()
}
GUIConfig::light_dark_mode().set(m);
}
#endif

#if defined(PLATFORM_OS_WINDOWS)
void
GeneralPreferencePanel::on_dark_changed()
{
Expand All @@ -306,6 +305,7 @@ GeneralPreferencePanel::on_dark_changed()
}
GUIConfig::block_mode().set(m);
}
#endif

#if defined(HAVE_LANGUAGE_SELECTION)
void
Expand Down

0 comments on commit 1fd5e2e

Please sign in to comment.