Summary: | WebKitGtk+ fails to build on win32 against GTK3 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Greg Hellings <greg.hellings> | ||||||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | erik-webkit, gustavo, kalevlember, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 7 | ||||||||||
Attachments: |
|
Description
Greg Hellings
2011-07-04 16:07:32 PDT
Created attachment 102346 [details]
Don't use gtk_socket_new
Don't use gtk_socket_new if using GDK_WINDOWING_WIN32 and GTK3, since GtkSocket is X11 only in Gtk3
Not sure it will work, but it compiles.
If you want to get the patch included, should format it with svn-create-patch as described in http://www.webkit.org/coding/contributing.html and raise the review? flag. Comment on attachment 102346 [details] Don't use gtk_socket_new View in context: https://bugs.webkit.org/attachment.cgi?id=102346&action=review > webkit-1.4.2/Source/WebCore/plugins/gtk/PluginViewGtk.cpp:830 > +#if defined(GDK_WINDOWING_WIN32) && !defined(GTK_API_VERSION_2) > + setPlatformWidget(0); This should be #if PLATFORM(WINDOWS) instead of GDK_WINDOWING_WIN32, I think. 1.4.2 is very old, but this patch seems to be still necessary. It needs to be fixed to build on master, and have a ChangeLog entry like kalev mentioned. Created attachment 130835 [details]
Updated patch with changelog entry
Attachment 130835 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/ChangeLog:11: Line contains tab character. [whitespace/tab] [5]
Total errors found: 1 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 130841 [details]
Updated patch with changelog entry
Comment on attachment 130841 [details] Updated patch with changelog entry Clearing flags on attachment: 130841 Committed r110178: <http://trac.webkit.org/changeset/110178> All reviewed patches have been landed. Closing bug. |