gst-examples: change include for gtk in gtk-play
authorStéphane Cerveau <scerveau@collabora.com>
Thu, 21 Apr 2022 09:43:55 +0000 (11:43 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 14 May 2022 09:49:33 +0000 (09:49 +0000)
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>

subprojects/gst-examples/playback/player/gtk/gtk-play.c

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