Bug 30076

Summary: Header files of WebKitGTK do not comply with WebKit coding style (Patch attached)
Product: WebKit Reporter: José Millán Soto <jmillan>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
WebKitGtkHeaders.patch
xan.lopez: review-
Patch none

Description José Millán Soto 2009-10-05 08:17:15 PDT
Created attachment 40633 [details]
WebKitGtkHeaders.patch

Header files located in WebKit/gtk do not comply with WebKit coding style,
as header guards should be named the same as the file wich they are guarding.

Moreover, DocumentLoaderGtk.h, does not even have header guard. This patch solves
this problem also.
Comment 1 Xan Lopez 2009-10-05 12:58:52 PDT
Comment on attachment 40633 [details]
WebKitGtkHeaders.patch

>-#ifndef WEBKIT_SOUP_AUTH_DIALOG_H
>-#define WEBKIT_SOUP_AUTH_DIALOG_H 1
>+#ifndef webkitsoupauthdialog_h
>+#define webkitsoupauthdialog_h 1

While we are at it, can we get rid of that '1' too?

You need to provide a ChangeLog as mentioned in the contributing document, using the prepare-ChangeLog script. Marking r- (also, you need to mark patches for review when attaching :))
Comment 2 José Millán Soto 2009-10-06 02:22:53 PDT
Created attachment 40704 [details]
Patch

Updated patch, wich solves problems of previous patch that were appointed in comment #1.
Comment 3 Xan Lopez 2009-10-06 02:24:53 PDT
Comment on attachment 40704 [details]
Patch

Looks good, thanks!
Comment 4 WebKit Commit Bot 2009-10-06 04:50:03 PDT
Comment on attachment 40704 [details]
Patch

Clearing flags on attachment: 40704

Committed r49168: <http://trac.webkit.org/changeset/49168>
Comment 5 WebKit Commit Bot 2009-10-06 04:50:06 PDT
All reviewed patches have been landed.  Closing bug.