From e3c9b112e2244c660c136407c5b4dc08c41fb275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 5 Mar 2021 23:27:08 +0100 Subject: [PATCH] Sink: remove gtkconfig header Remove another leftover meant for GTK3 compatibility --- lib/gst/clapper/gtk4/gstgtkbasesink.c | 5 ++--- lib/gst/clapper/gtk4/gtkconfig.h | 24 ------------------------ 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 lib/gst/clapper/gtk4/gtkconfig.h diff --git a/lib/gst/clapper/gtk4/gstgtkbasesink.c b/lib/gst/clapper/gtk4/gstgtkbasesink.c index 9dd973cd..17bab91a 100644 --- a/lib/gst/clapper/gtk4/gstgtkbasesink.c +++ b/lib/gst/clapper/gtk4/gstgtkbasesink.c @@ -31,7 +31,6 @@ #include -#include "gtkconfig.h" #include "gstgtkbasesink.h" #include "gstgtkutils.h" @@ -154,10 +153,10 @@ gst_gtk_base_sink_class_init (GstGtkBaseSinkClass * klass) gstvideosink_class->show_frame = gst_gtk_base_sink_show_frame; gstgtkbasesink_class->create_widget = gtk_gst_base_widget_new; - gstgtkbasesink_class->window_title = GTKCONFIG_NAME " GL Renderer"; + gstgtkbasesink_class->window_title = "GTK4 GL Renderer"; gst_element_class_set_metadata (gstelement_class, - GTKCONFIG_NAME " GL Video Sink", + "GTK4 GL Video Sink", "Sink/Video", "A video sink that renders to a GtkWidget using OpenGL", "Matthew Waters , " "Rafał Dzięgiel "); diff --git a/lib/gst/clapper/gtk4/gtkconfig.h b/lib/gst/clapper/gtk4/gtkconfig.h deleted file mode 100644 index 76ee9d11..00000000 --- a/lib/gst/clapper/gtk4/gtkconfig.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * GStreamer - * Copyright (C) 2020 Rafał Dzięgiel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#define GTKCONFIG_PLUGIN gtk4 -#define GTKCONFIG_NAME "GTK4" -#define GTKCONFIG_SINK "gtk4sink" -#define GTKCONFIG_GLSINK "gtk4glsink"