diff --git a/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c b/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c index b5fa2b10dc..34c75c978f 100644 --- a/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c +++ b/subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c @@ -11,6 +11,10 @@ #include #elif defined (GDK_WINDOWING_QUARTZ) #include +#if GTK_CHECK_VERSION(3, 24, 10) +#include +NSView *gdk_quartz_window_get_nsview (GdkWindow * window); +#endif #endif /* Structure to contain all our information, so we can pass it around */ diff --git a/subprojects/gst-examples/playback/player/gtk/gtk-play.c b/subprojects/gst-examples/playback/player/gtk/gtk-play.c index 86d357a799..c11b8a5af1 100644 --- a/subprojects/gst-examples/playback/player/gtk/gtk-play.c +++ b/subprojects/gst-examples/playback/player/gtk/gtk-play.c @@ -33,6 +33,10 @@ #include #elif defined (GDK_WINDOWING_QUARTZ) #include +#if GTK_CHECK_VERSION(3, 24, 10) +#include +NSView *gdk_quartz_window_get_nsview (GdkWindow * window); +#endif #endif #include diff --git a/subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c b/subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c index 40caa8da66..7427fc1238 100644 --- a/subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c +++ b/subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c @@ -35,6 +35,10 @@ #endif #if GST_GL_HAVE_WINDOW_COCOA && defined(GDK_WINDOWING_QUARTZ) #include +#if GTK_CHECK_VERSION(3, 24, 10) +#include +NSView *gdk_quartz_window_get_nsview (GdkWindow * window); +#endif #endif gboolean diff --git a/subprojects/gst-plugins-base/tests/examples/playback/playback-test.c b/subprojects/gst-plugins-base/tests/examples/playback/playback-test.c index 7da042eb20..13d78ea024 100644 --- a/subprojects/gst-plugins-base/tests/examples/playback/playback-test.c +++ b/subprojects/gst-plugins-base/tests/examples/playback/playback-test.c @@ -41,6 +41,10 @@ #include #elif defined (GDK_WINDOWING_QUARTZ) #include +#if GTK_CHECK_VERSION(3, 24, 10) +#include +NSView *gdk_quartz_window_get_nsview (GdkWindow * window); +#endif #endif #include