diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-04-15 14:06:59 -0400 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2021-04-15 14:06:59 -0400 |
commit | a6c591b3396c6fc0c96a22658d54c915504bc091 (patch) | |
tree | 3ead1c245c9162b19329e5c32a623a32109c0fa5 /ext | |
parent | f9ce3946a1942e974c9d5b645550219c14b79cf6 (diff) | |
download | gstreamer-plugins-bad-a6c591b3396c6fc0c96a22658d54c915504bc091.tar.gz |
wpe: Remove code targeting WebKit < 2.24
We already depend on wk >= 2.24
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2165>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/wpe/WPEThreadedView.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/wpe/WPEThreadedView.cpp b/ext/wpe/WPEThreadedView.cpp index b2c81da46..051d103d1 100644 --- a/ext/wpe/WPEThreadedView.cpp +++ b/ext/wpe/WPEThreadedView.cpp @@ -509,14 +509,10 @@ void WPEView::loadData(GBytes* bytes) void WPEView::setDrawBackground(gboolean drawsBackground) { -#if WEBKIT_CHECK_VERSION(2, 24, 0) GST_DEBUG("%s background rendering", drawsBackground ? "Enabling" : "Disabling"); WebKitColor color; webkit_color_parse(&color, drawsBackground ? "white" : "transparent"); webkit_web_view_set_background_color(webkit.view, &color); -#else - GST_FIXME("webkit_web_view_set_background_color is not implemented in WPE %u.%u. Please upgrade to 2.24", webkit_get_major_version(), webkit_get_minor_version()); -#endif } void WPEView::releaseImage(gpointer imagePointer) |