gst-examples: change include for gtk in gtk-play

The gdk.h is not necessary but the gtk.h yes for
the GTK_CHECK_VERSION macro.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2261>
This commit is contained in:
Stéphane Cerveau 2022-04-21 11:43:55 +02:00 committed by GStreamer Marge Bot
parent 1aca8ad289
commit 5c46099b8d

View file

@ -26,7 +26,8 @@
#include <gst/tag/tag.h> #include <gst/tag/tag.h>
#include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h> #include <gtk/gtk.h>
#if defined (GDK_WINDOWING_X11) #if defined (GDK_WINDOWING_X11)
#include <gdk/gdkx.h> #include <gdk/gdkx.h>
#elif defined (GDK_WINDOWING_WIN32) #elif defined (GDK_WINDOWING_WIN32)
@ -39,8 +40,6 @@ NSView *gdk_quartz_window_get_nsview (GdkWindow * window);
#endif #endif
#endif #endif
#include <gtk/gtk.h>
#include <gst/play/play.h> #include <gst/play/play.h>
#include "gtk-video-renderer.h" #include "gtk-video-renderer.h"