examples: fix build on macOS with gtk+-quartz-3.0
authorZhao Zhili <quinkblack@foxmail.com>
Thu, 21 Jan 2021 08:01:38 +0000 (16:01 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 4 Apr 2022 16:27:45 +0000 (16:27 +0000)
commitdd27850a9ac662a082f5663768773e17d70bd3f2
treeaf3bfa089333edae5a0ad1c9eb84718cb765dd25
parentdf0958e85507e8b00d26d7b7751f2e7e63335395
examples: fix build on macOS with gtk+-quartz-3.0

gdk_quartz_window_get_nsview is not declared in the header file now:
error: implicit declaration of function 'gdk_quartz_window_get_nsview'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]

fixes #979

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2095>
subprojects/gst-docs/examples/tutorials/basic-tutorial-5.c
subprojects/gst-examples/playback/player/gtk/gtk-play.c
subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c
subprojects/gst-plugins-base/tests/examples/playback/playback-test.c