Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b654164c8fa0b95f520111ce6f5fdc7d1a3cc123
      
https://github.com/WebKit/WebKit/commit/b654164c8fa0b95f520111ce6f5fdc7d1a3cc123
  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:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to