Bug 50034

Summary: [GTK] Make kit() methods return the proper type instead of gpointer
Product: WebKit Reporter: Xan Lopez <xan.lopez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
kit.diff none

Description Xan Lopez 2010-11-24 11:05:22 PST
Saves us quite a bit of mindless casting.
Comment 1 Xan Lopez 2010-11-24 11:10:24 PST
Created attachment 74780 [details]
kit.diff
Comment 2 Martin Robinson 2010-11-24 11:12:25 PST
Comment on attachment 74780 [details]
kit.diff

Awesome!
Comment 3 WebKit Review Bot 2010-11-24 11:12:31 PST
Attachment 74780 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style', '--diff-files', u'WebCore/ChangeLog', u'WebCore/bindings/gobject/WebKitDOMBinding.cpp', u'WebCore/bindings/gobject/WebKitDOMBinding.h', u'WebCore/bindings/scripts/CodeGeneratorGObject.pm', u'WebKit/gtk/ChangeLog', u'WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp', u'WebKit/gtk/webkit/webkitprivate.cpp', u'WebKit/gtk/webkit/webkitwebview.cpp']" exit_code: 1
WebCore/bindings/gobject/WebKitDOMBinding.h:28:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Eric Seidel (no email) 2010-12-14 01:34:02 PST
Seems like this just needs a small style update and landing.
Comment 5 Xan Lopez 2010-12-14 04:29:48 PST
Comment on attachment 74780 [details]
kit.diff

This landed in r72691, my apologies for not closing the bug.
Comment 6 Xan Lopez 2010-12-14 04:29:59 PST
Closing.