Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 60309c1b3f0cb47530559149758eb9eeed35d801
https://github.com/WebKit/WebKit/commit/60309c1b3f0cb47530559149758eb9eeed35d801
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
M Source/WebKit/PlatformGTK.cmake
M Source/WebKit/PlatformWPE.cmake
M Source/WebKit/UIProcess/API/glib/WebKitImage.cpp
M Source/WebKit/UIProcess/API/glib/webkit.h.in
A Source/WebKit/UIProcess/API/wpe/WebKitImageWPE.cpp
Log Message:
-----------
Cherry-pick 309090@main (b654164c8fa0).
https://bugs.webkit.org/show_bug.cgi?id=309674
[GTK] Hide WebKitImage from the public API
https://bugs.webkit.org/show_bug.cgi?id=309674
Reviewed by Carlos Garcia Campos.
Skip installation of the WebKitImage.h header when building the GTK port.
It is not possible to conditionally add a (skip) annotation to WebKitImage
only for the GTK port, so the next best option is to split the documentation
comment for the type into a dummy file that is processed by g-ir-scanner
only
when building WPE.
* Source/WebKit/PlatformGTK.cmake: Skip installing WebKitImage.h
* Source/WebKit/PlatformWPE.cmake: Add the new WebKitImageWPE.cpp
file to the list of sources scanned by g-ir-scanner, containing only
the documentation for WebKitImage.
* Source/WebKit/UIProcess/API/glib/WebKitImage.cpp: Move out the
documentation comment for the type into a new file.
* Source/WebKit/UIProcess/API/glib/webkit.h.in: Do not #include
WebKitImage.h for the GTK port.
* Source/WebKit/UIProcess/API/wpe/WebKitImageWPE.cpp: Added.
Canonical link: https://commits.webkit.org/309090@main
Canonical link: https://commits.webkit.org/305877.182@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications