Use G_CONST_RETURN instead of const for return values that are supposed to be const.
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 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.
Thanks Christian. Landed in r35136