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+

Description Jan Alonzo 2008-07-08 07:25:03 PDT
Use G_CONST_RETURN instead of const for return values that are supposed to be const.
Comment 1 Jan Alonzo 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*)
Comment 2 Christian Dywan 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.
Comment 3 Jan Alonzo 2008-07-11 15:08:17 PDT
Thanks Christian. Landed in r35136