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:
Michel Dänzer 2023-08-06 11:08:47 +02:00 committed by Marge Bot
parent d3ec28848b
commit c3afdefd15
2 changed files with 0 additions and 18 deletions

View File

@ -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,

View File

@ -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 ())