Revert "frame/native: Remember whether the frame carried a kms update"

This reverts commit 020d128d15.

This API is no longer used and can be removed.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3549>
This commit is contained in:
Dor Askayo 2024-01-26 19:06:33 +00:00
parent b8deb4caa0
commit 0eaf4b4f4c
2 changed files with 0 additions and 11 deletions

View File

@ -28,7 +28,6 @@ struct _MetaFrameNative
ClutterFrame base;
MetaKmsUpdate *kms_update;
gboolean had_kms_update;
};
static void
@ -63,7 +62,6 @@ meta_frame_native_ensure_kms_update (MetaFrameNative *frame_native,
}
frame_native->kms_update = meta_kms_update_new (kms_device);
frame_native->had_kms_update = TRUE;
return frame_native->kms_update;
}
@ -78,9 +76,3 @@ meta_frame_native_has_kms_update (MetaFrameNative *frame_native)
{
return !!frame_native->kms_update;
}
gboolean
meta_frame_native_had_kms_update (MetaFrameNative *frame_native)
{
return frame_native->had_kms_update;
}

View File

@ -36,6 +36,3 @@ MetaKmsUpdate * meta_frame_native_steal_kms_update (MetaFrameNative *frame_nativ
META_EXPORT_TEST
gboolean meta_frame_native_has_kms_update (MetaFrameNative *frame_native);
META_EXPORT_TEST
gboolean meta_frame_native_had_kms_update (MetaFrameNative *frame_native);