mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
kms/feedback: Make getter take consts
This will be necessary later, as places that wants to use them will only have the const variants of the feedback pointers. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
411ec5fd18
commit
0acae7f3c1
@ -109,19 +109,19 @@ meta_kms_feedback_free (MetaKmsFeedback *feedback)
|
|||||||
}
|
}
|
||||||
|
|
||||||
MetaKmsFeedbackResult
|
MetaKmsFeedbackResult
|
||||||
meta_kms_feedback_get_result (MetaKmsFeedback *feedback)
|
meta_kms_feedback_get_result (const MetaKmsFeedback *feedback)
|
||||||
{
|
{
|
||||||
return feedback->result;
|
return feedback->result;
|
||||||
}
|
}
|
||||||
|
|
||||||
GList *
|
GList *
|
||||||
meta_kms_feedback_get_failed_planes (MetaKmsFeedback *feedback)
|
meta_kms_feedback_get_failed_planes (const MetaKmsFeedback *feedback)
|
||||||
{
|
{
|
||||||
return feedback->failed_planes;
|
return feedback->failed_planes;
|
||||||
}
|
}
|
||||||
|
|
||||||
const GError *
|
const GError *
|
||||||
meta_kms_feedback_get_error (MetaKmsFeedback *feedback)
|
meta_kms_feedback_get_error (const MetaKmsFeedback *feedback)
|
||||||
{
|
{
|
||||||
return feedback->error;
|
return feedback->error;
|
||||||
}
|
}
|
||||||
|
@ -71,11 +71,11 @@ typedef struct _MetaKmsPlaneFeedback
|
|||||||
|
|
||||||
void meta_kms_feedback_free (MetaKmsFeedback *feedback);
|
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);
|
MetaKmsUpdate * meta_kms_update_new (MetaKmsDevice *device);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user