summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Wick <sebastian.wick@redhat.com>2023-02-17 22:57:38 +0100
committerMarge Bot <marge-bot@gnome.org>2023-02-23 17:20:36 +0000
commit4cf73fcfedad455373d3131eff152437fc020432 (patch)
tree16ee9a2cd90329df6f7baab5c41c05df38594d98 /src
parent36aada2164aedd0c8a019df0c074c59246d53860 (diff)
downloadmutter-4cf73fcfedad455373d3131eff152437fc020432.tar.gz
backends/native: Remove unused meta_kms_crtc_has_gamma
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2861>
Diffstat (limited to 'src')
-rw-r--r--src/backends/native/meta-kms-crtc.c7
-rw-r--r--src/backends/native/meta-kms-crtc.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/src/backends/native/meta-kms-crtc.c b/src/backends/native/meta-kms-crtc.c
index eee86d41b..e702f443e 100644
--- a/src/backends/native/meta-kms-crtc.c
+++ b/src/backends/native/meta-kms-crtc.c
@@ -101,13 +101,6 @@ meta_kms_crtc_is_active (MetaKmsCrtc *crtc)
return crtc->current_state.is_active;
}
-
-gboolean
-meta_kms_crtc_has_gamma (MetaKmsCrtc *crtc)
-{
- return crtc->current_state.gamma.size > 0;
-}
-
static void
read_gamma_state (MetaKmsCrtc *crtc,
MetaKmsCrtcState *crtc_state,
diff --git a/src/backends/native/meta-kms-crtc.h b/src/backends/native/meta-kms-crtc.h
index 54801dd96..218bec9a1 100644
--- a/src/backends/native/meta-kms-crtc.h
+++ b/src/backends/native/meta-kms-crtc.h
@@ -71,8 +71,6 @@ uint32_t meta_kms_crtc_get_id (MetaKmsCrtc *crtc);
int meta_kms_crtc_get_idx (MetaKmsCrtc *crtc);
-gboolean meta_kms_crtc_has_gamma (MetaKmsCrtc *crtc);
-
META_EXPORT_TEST
gboolean meta_kms_crtc_is_active (MetaKmsCrtc *crtc);