Bug 19943

Summary: [Gtk] Use G_CONST_RETURN instead of const
Product: WebKit Reporter: Jan Alonzo <jmalonzo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Gtk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
use G_CONST_RETURN instead of const christian: review+

Jan Alonzo
Reported 2008-07-08 07:25:03 PDT
Use G_CONST_RETURN instead of const for return values that are supposed to be const.
Attachments
use G_CONST_RETURN instead of const (6.88 KB, patch)
2008-07-08 07:27 PDT, Jan Alonzo
christian: review+
Jan Alonzo
Comment 1 2008-07-08 07:27:48 PDT
Created attachment 22156 [details] use G_CONST_RETURN instead of const This patch replaces const with G_CONST_RETURN wherever const is used in the API (currently for functions that return const gchar*)
Christian Dywan
Comment 2 2008-07-11 02:52:50 PDT
Comment on attachment 22156 [details] use G_CONST_RETURN instead of const This looks like a good idea. It's what gtk does for public API return values as well.
Jan Alonzo
Comment 3 2008-07-11 15:08:17 PDT
Thanks Christian. Landed in r35136
Note You need to log in before you can comment on or make changes to this bug.