Skip to content

Commit

Permalink
Merge pull request #1262 from starnight/fix-webkit4.0-fallback
Browse files Browse the repository at this point in the history
[GTK] Fix WebKit 4.0 as fallback
  • Loading branch information
r0x0r authored Nov 20, 2023
2 parents fd24ac1 + f2a63a2 commit 2d1833d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for:
PYWEBVIEW_GUI: gtk
install:
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y xvfb gir1.2-gtk-3.0 gir1.2-webkit2-4.1 python3-gi python3-gi-cairo python3-pep8 pyflakes3 python3-pytest python3-six
- sudo apt-get install --no-install-recommends -y xvfb gir1.2-gtk-3.0 gir1.2-webkit2-4.0 python3-gi python3-gi-cairo python3-pep8 pyflakes3 python3-pytest python3-six
- python3 -m pip install proxy_tools pytest bottle typing_extensions pygobject
before_test:
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset && sleep 3;
Expand Down
4 changes: 2 additions & 2 deletions webview/platforms/gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
gi.require_version('Soup', '3.0')
except ValueError:
logger.debug('WebKit2 4.1 not found. Using 4.0.')
gi.require_version('WebKit2', '4.1')
gi.require_version('Soup', '3.0')
gi.require_version('WebKit2', '4.0')
gi.require_version('Soup', '2.4')

from gi.repository import Gdk, Gio
from gi.repository import GLib as glib
Expand Down

0 comments on commit 2d1833d

Please sign in to comment.