diff --git a/src/backends/native/meta-kms-update.c b/src/backends/native/meta-kms-update.c index 9ad87ac2e..39b99585a 100644 --- a/src/backends/native/meta-kms-update.c +++ b/src/backends/native/meta-kms-update.c @@ -109,19 +109,19 @@ meta_kms_feedback_free (MetaKmsFeedback *feedback) } MetaKmsFeedbackResult -meta_kms_feedback_get_result (MetaKmsFeedback *feedback) +meta_kms_feedback_get_result (const MetaKmsFeedback *feedback) { return feedback->result; } GList * -meta_kms_feedback_get_failed_planes (MetaKmsFeedback *feedback) +meta_kms_feedback_get_failed_planes (const MetaKmsFeedback *feedback) { return feedback->failed_planes; } const GError * -meta_kms_feedback_get_error (MetaKmsFeedback *feedback) +meta_kms_feedback_get_error (const MetaKmsFeedback *feedback) { return feedback->error; } diff --git a/src/backends/native/meta-kms-update.h b/src/backends/native/meta-kms-update.h index b5123265e..82a0d96c7 100644 --- a/src/backends/native/meta-kms-update.h +++ b/src/backends/native/meta-kms-update.h @@ -71,11 +71,11 @@ typedef struct _MetaKmsPlaneFeedback void meta_kms_feedback_free (MetaKmsFeedback *feedback); -MetaKmsFeedbackResult meta_kms_feedback_get_result (MetaKmsFeedback *feedback); +MetaKmsFeedbackResult meta_kms_feedback_get_result (const MetaKmsFeedback *feedback); -GList * meta_kms_feedback_get_failed_planes (MetaKmsFeedback *feedback); +GList * meta_kms_feedback_get_failed_planes (const MetaKmsFeedback *feedback); -const GError * meta_kms_feedback_get_error (MetaKmsFeedback *feedback); +const GError * meta_kms_feedback_get_error (const MetaKmsFeedback *feedback); MetaKmsUpdate * meta_kms_update_new (MetaKmsDevice *device);