[Webkit-unassigned] [Bug 212126] [GTK4] Build error with gtk4 on PluginProcessMainUnix.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 20 00:30:21 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212126

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #399810|review?                     |review-
              Flags|                            |

--- Comment #5 from Adrian Perez <aperez at igalia.com> ---
Comment on attachment 399810
  --> https://bugs.webkit.org/attachment.cgi?id=399810
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=399810&action=review

> Source/WebKit/ChangeLog:8
> +        * PluginProcess/unix/PluginProcessMainUnix.cpp:

NPAPI plug-in support is disabled for GTK4 builds. We are not planning
to support them, given that all major browsers are phasing out the support
(or have already).

> Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.cpp:64
>          gtk_init(nullptr, nullptr);

…anyway, instead of doing this, you should leave the call to gtk_init()
unchanged and instead the <WebCore/GtkVersioning.h>, which has utility
functions that avoid the need for preprocessor guards.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200520/e8555ae7/attachment.htm>


More information about the webkit-unassigned mailing list