diff --git a/clutter/clutter/clutter-stage-view.h b/clutter/clutter/clutter-stage-view.h index 0c3448511..26bf10e79 100644 --- a/clutter/clutter/clutter-stage-view.h +++ b/clutter/clutter/clutter-stage-view.h @@ -18,6 +18,10 @@ #ifndef __CLUTTER_STAGE_VIEW_H__ #define __CLUTTER_STAGE_VIEW_H__ +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only can be included directly." +#endif + #include #include #include diff --git a/clutter/clutter/clutter.h b/clutter/clutter/clutter.h index 231d8cd1b..ec846910f 100644 --- a/clutter/clutter/clutter.h +++ b/clutter/clutter/clutter.h @@ -101,6 +101,7 @@ #include "clutter-snap-constraint.h" #include "clutter-stage.h" #include "clutter-stage-manager.h" +#include "clutter-stage-view.h" #include "clutter-tap-action.h" #include "clutter-test-utils.h" #include "clutter-texture.h" diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build index b66384342..ab9f3d47c 100644 --- a/clutter/clutter/meson.build +++ b/clutter/clutter/meson.build @@ -75,6 +75,7 @@ clutter_headers = [ 'clutter-snap-constraint.h', 'clutter-stage.h', 'clutter-stage-manager.h', + 'clutter-stage-view.h', 'clutter-tap-action.h', 'clutter-test-utils.h', 'clutter-texture.h', @@ -164,6 +165,7 @@ clutter_sources = [ 'clutter-snap-constraint.c', 'clutter-stage.c', 'clutter-stage-manager.c', + 'clutter-stage-view.c', 'clutter-stage-window.c', 'clutter-tap-action.c', 'clutter-test-utils.c', @@ -207,7 +209,6 @@ clutter_private_headers = [ 'clutter-settings-private.h', 'clutter-stage-manager-private.h', 'clutter-stage-private.h', - 'clutter-stage-view.h', 'clutter-stage-view-private.h', 'clutter-stage-window.h', ] @@ -216,7 +217,6 @@ clutter_nonintrospected_sources = [ 'clutter-easing.c', 'clutter-event-translator.c', 'clutter-id-pool.c', - 'clutter-stage-view.c', ] clutter_deprecated_headers = [