diff --git a/src/backends/native/meta-frame-native.c b/src/backends/native/meta-frame-native.c index 2701a9316..146144db0 100644 --- a/src/backends/native/meta-frame-native.c +++ b/src/backends/native/meta-frame-native.c @@ -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; -} diff --git a/src/backends/native/meta-frame-native.h b/src/backends/native/meta-frame-native.h index abfb17145..f86d3b0b0 100644 --- a/src/backends/native/meta-frame-native.h +++ b/src/backends/native/meta-frame-native.h @@ -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);