mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
kms/impl-device/simple: Make process update vfunc type a typedef
It made the function type declaration a bit unreadable, so split it out. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
6bffeeed28
commit
4afe3afdf0
@ -31,6 +31,11 @@
|
||||
#include "backends/native/meta-kms-update-private.h"
|
||||
#include "backends/native/meta-kms-utils.h"
|
||||
|
||||
typedef gboolean (* MetaKmsSimpleProcessFunc) (MetaKmsImplDevice *impl_device,
|
||||
MetaKmsUpdate *update,
|
||||
gpointer entry_data,
|
||||
GError **error);
|
||||
|
||||
typedef struct _CachedModeSet
|
||||
{
|
||||
GList *connectors;
|
||||
@ -1138,10 +1143,7 @@ static gboolean
|
||||
process_entries (MetaKmsImplDevice *impl_device,
|
||||
MetaKmsUpdate *update,
|
||||
GList *entries,
|
||||
gboolean (* func) (MetaKmsImplDevice *impl_device,
|
||||
MetaKmsUpdate *update,
|
||||
gpointer entry_data,
|
||||
GError **error),
|
||||
MetaKmsSimpleProcessFunc func,
|
||||
GError **error)
|
||||
{
|
||||
GList *l;
|
||||
|
Loading…
Reference in New Issue
Block a user