backends/native: Add distinct meta-input-thread.h header
Make it impossible to add individual includes of input thread objects. This must go through meta-input-thread.h now, which should be enough to make anyone think it twice. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:

committed by
Marge Bot

parent
c03be03cd3
commit
8b6ea12fac
@@ -22,6 +22,10 @@
|
||||
#ifndef META_INPUT_SETTINGS_NATIVE_H
|
||||
#define META_INPUT_SETTINGS_NATIVE_H
|
||||
|
||||
#ifndef META_INPUT_THREAD_H_INSIDE
|
||||
#error "This header cannot be included directly. Use "backends/native/meta-input-thread.h""
|
||||
#endif /* META_INPUT_THREAD_H_INSIDE */
|
||||
|
||||
#include "backends/meta-input-settings-private.h"
|
||||
|
||||
#define META_TYPE_INPUT_SETTINGS_NATIVE (meta_input_settings_native_get_type ())
|
||||
|
Reference in New Issue
Block a user