Sink: remove GTK4 if-defs

Clapper works with GTK4, so reduce codebase by removing GTK3 leftovers
This commit is contained in:
Rafał Dzięgiel
2021-03-05 19:02:14 +01:00
parent fe3fd32932
commit 07fb0a9a46
6 changed files with 10 additions and 146 deletions

View File

@@ -26,10 +26,6 @@
#include <gst/gst.h>
#include <gst/video/video.h>
#if !defined(BUILD_FOR_GTK4)
#include <gdk/gdk.h>
#endif
#define GTK_GST_BASE_WIDGET(w) ((GtkGstBaseWidget *)(w))
#define GTK_GST_BASE_WIDGET_CLASS(k) ((GtkGstBaseWidgetClass *)(k))
#define GTK_GST_BASE_WIDGET_LOCK(w) g_mutex_lock(&((GtkGstBaseWidget*)(w))->lock)