mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Remove all uses of G_CONST_RETURN
Just use 'const'. https://bugzilla.gnome.org/show_bug.cgi?id=644611
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user