RESOLVED FIXED19943
[Gtk] Use G_CONST_RETURN instead of const
https://bugs.webkit.org/show_bug.cgi?id=19943
Summary [Gtk] Use G_CONST_RETURN instead of const
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.