Remove unused meta_output_is_laptop
Unused since cbb2a286f2
("monitor-manager: Don't use wacky physical
dimensions in display name").
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
parent
d3ec28848b
commit
c3afdefd15
@ -374,22 +374,6 @@ meta_output_info_parse_edid (MetaOutputInfo *output_info,
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_output_is_laptop (MetaOutput *output)
|
||||
{
|
||||
const MetaOutputInfo *output_info = meta_output_get_info (output);
|
||||
|
||||
switch (output_info->connector_type)
|
||||
{
|
||||
case META_CONNECTOR_TYPE_eDP:
|
||||
case META_CONNECTOR_TYPE_LVDS:
|
||||
case META_CONNECTOR_TYPE_DSI:
|
||||
return TRUE;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
meta_output_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
|
@ -184,8 +184,6 @@ void meta_output_info_parse_edid (MetaOutputInfo *output_info,
|
||||
gboolean meta_output_info_is_color_space_supported (const MetaOutputInfo *output_info,
|
||||
MetaOutputColorspace color_space);
|
||||
|
||||
gboolean meta_output_is_laptop (MetaOutput *output);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MetaOutputInfo, meta_output_info_unref)
|
||||
|
||||
#define META_TYPE_OUTPUT (meta_output_get_type ())
|
||||
|
Loading…
Reference in New Issue
Block a user