Skip to content

clutter/deform-effect: Hide G_STATIC_ASSERT from the g-ir-scanner

Daniel van Vugt requested to merge vanvugt/mutter:fix-issue-3591-v1 into main

According to gmacros.h, G_STATIC_ASSERT is undefined for __GI_SCANNER__ because it causes confusion. Which is understandable, and so is the complaint about the lingering G_STATIC_ASSERT after preprocessing.

This problem seems to be unique to just clutter-deform-effect.h because it's the only header file containing a top-level G_STATIC_ASSERT. The rest are all in C files.

Fixes: 138e5d4f
Closes: #3591 (closed)

Edited by Daniel van Vugt

Merge request reports