Remove all uses of G_CONST_RETURN

Just use 'const'.
This commit is contained in:
Ryan Lortie
2011-03-12 21:50:45 -05:00
parent 61b0e1c8d4
commit 36741245cc
35 changed files with 122 additions and 122 deletions

View File

@@ -282,7 +282,7 @@ g_param_spec_ref_sink (GParamSpec *pspec)
*
* Returns: the name of @pspec.
*/
G_CONST_RETURN gchar*
const gchar *
g_param_spec_get_name (GParamSpec *pspec)
{
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), NULL);
@@ -298,7 +298,7 @@ g_param_spec_get_name (GParamSpec *pspec)
*
* Returns: the nickname of @pspec.
*/
G_CONST_RETURN gchar*
const gchar *
g_param_spec_get_nick (GParamSpec *pspec)
{
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), NULL);
@@ -325,7 +325,7 @@ g_param_spec_get_nick (GParamSpec *pspec)
*
* Returns: the short description of @pspec.
*/
G_CONST_RETURN gchar*
const gchar *
g_param_spec_get_blurb (GParamSpec *pspec)
{
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), NULL);