[webkit-dev] Style for Gtk/Qt code

Holger Freyther zecke at selfish.org
Sun Dec 20 23:46:59 PST 2009


On Monday 21 December 2009 08:25:31 Eric Seidel wrote:
> The style-bot warns for style errors in all code in the webkit tree,
> but I'm not sure if that's correct.
> 
> Are there sections of gtk/qt/whatever code which should be in a different
>  style?



For all of Qt (WebCore/platform/*/qt, WebKit/qt*) we are using the WebKit 
style. Historically this has not been the case for WebKit/qt but we agreed to 
change..

For Gtk+ I'm not really sure.. We tend to use NULL.. but I/we always forget 
the conclusion. I tend to allow NULL in cases where it is used with 
C/Glib/GObject code.





More information about the webkit-dev mailing list