mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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>
This commit is contained in:
parent
f9ce3946a1
commit
a6c591b339
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue