mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Remove dead GTK menu styling code
Differential Revision: https://phabricator.services.mozilla.com/D177369
This commit is contained in:
parent
9370172552
commit
4b7260d846
2 changed files with 2 additions and 4 deletions
|
@ -124,13 +124,12 @@ macro_rules! lnf_int_variable {
|
|||
}};
|
||||
}
|
||||
|
||||
static CHROME_ENVIRONMENT_VARIABLES: [EnvironmentVariable; 7] = [
|
||||
static CHROME_ENVIRONMENT_VARIABLES: [EnvironmentVariable; 6] = [
|
||||
lnf_int_variable!(
|
||||
atom!("-moz-gtk-csd-titlebar-radius"),
|
||||
TitlebarRadius,
|
||||
int_pixels
|
||||
),
|
||||
lnf_int_variable!(atom!("-moz-gtk-csd-menu-radius"), GtkMenuRadius, int_pixels),
|
||||
lnf_int_variable!(
|
||||
atom!("-moz-gtk-csd-close-button-position"),
|
||||
GTKCSDCloseButtonPosition,
|
||||
|
|
|
@ -698,7 +698,7 @@ macro_rules! bool_pref_feature {
|
|||
/// to support new types in these entries and (2) ensuring that either
|
||||
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
||||
/// would be returned by the evaluator function could change.
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 68] = [
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 67] = [
|
||||
feature!(
|
||||
atom!("width"),
|
||||
AllowsRanges::Yes,
|
||||
|
@ -1014,7 +1014,6 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 68] = [
|
|||
),
|
||||
lnf_int_feature!(atom!("-moz-system-dark-theme"), SystemUsesDarkTheme),
|
||||
lnf_int_feature!(atom!("-moz-panel-animations"), PanelAnimations),
|
||||
bool_pref_feature!(atom!("-moz-gtk-non-native-menus"), "widget.gtk.non-native-menu-styling"),
|
||||
// media query for MathML Core's implementation of maction/semantics
|
||||
bool_pref_feature!(
|
||||
atom!("-moz-mathml-core-maction-and-semantics"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue