Bug 51758

Summary: check-webkit-style should ignore NULL usage in calls to gtk_widget_style_get
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Gtk
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch darin: review+

Martin Robinson
Reported 2010-12-30 11:41:50 PST
gtk_widget_style_get requies the use of NULL as a call sentinel much like in g_object_get and g_object_set.
Attachments
Patch (2.65 KB, patch)
2010-12-30 12:20 PST, Martin Robinson
darin: review+
Martin Robinson
Comment 1 2010-12-30 12:20:06 PST
Martin Robinson
Comment 2 2010-12-30 12:21:21 PST
Unfortunately this patch does not remove all of the false positives from RenderThemeGtk. It seems that check-webkit-style does not always handle multi-line function calls properly.
Martin Robinson
Comment 3 2010-12-30 13:46:32 PST
Note You need to log in before you can comment on or make changes to this bug.