Remove all uses of G_CONST_RETURN

Just use 'const'.

https://bugzilla.gnome.org/show_bug.cgi?id=644611
This commit is contained in:
Ryan Lortie
2011-03-12 21:50:45 -05:00
parent 8f21e8145c
commit 8073759f8c
34 changed files with 122 additions and 122 deletions

View File

@@ -277,7 +277,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);
@@ -293,7 +293,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);
@@ -320,7 +320,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);