mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
kms/connector: Use utility function to get the property ID
We already have one for this, so use it instead of repeating the same Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1964>
This commit is contained in:
parent
cbfb59b828
commit
3d689989ea
@ -126,7 +126,8 @@ meta_kms_connector_is_underscanning_supported (MetaKmsConnector *connector)
|
||||
uint32_t underscan_prop_id;
|
||||
|
||||
underscan_prop_id =
|
||||
connector->prop_table.props[META_KMS_CONNECTOR_PROP_UNDERSCAN].prop_id;
|
||||
meta_kms_connector_get_prop_id (connector,
|
||||
META_KMS_CONNECTOR_PROP_UNDERSCAN);
|
||||
|
||||
return underscan_prop_id != 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user