mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 00:48:53 +02:00
Remove all uses of G_CONST_RETURN
Just use 'const'.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user