Commit 64e3809
committed
fix(perry-ui-gtk4): webview.rs against webkit6 0.4 / glib 0.20 (v0.5.864)
Real fixes for the 3 compile errors v0.5.851/863 worked around:
1. `error.code()` on `>k4::glib::Error` — glib 0.20 dropped the
public `code()` accessor. Use `ToGlibPtr` to reach the raw GError
and read the i32 code field directly.
2. `CookieManager::delete_all_cookies` removed in webkit6 0.4.
Replaced with `WebsiteDataManager::clear(COOKIES, Duration::ZERO,
...)` which is the supported clear-all-since-epoch API.
3. `webview.settings()` ambiguous between `WidgetExt::settings` and
`WebViewExt::settings`. Fully qualify to `WebViewExt::settings`.
Re-enables:
- The doc-tests ubuntu-24.04 / perry-ui-gtk4 matrix entry (disabled v0.5.851)
- The release-packages `-p perry-ui-gtk4` build step (disabled v0.5.863)
Linux release tarballs will once again ship libperry_ui_gtk4.a.1 parent 1f2f44e commit 64e3809
3 files changed
Lines changed: 32 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
296 | 286 | | |
297 | 287 | | |
298 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
656 | 650 | | |
657 | 651 | | |
658 | 652 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
224 | 230 | | |
225 | 231 | | |
226 | 232 | | |
| |||
309 | 315 | | |
310 | 316 | | |
311 | 317 | | |
312 | | - | |
313 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
314 | 322 | | |
315 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
316 | 329 | | |
317 | 330 | | |
318 | 331 | | |
| |||
323 | 336 | | |
324 | 337 | | |
325 | 338 | | |
326 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
327 | 342 | | |
328 | 343 | | |
329 | 344 | | |
| |||
0 commit comments