mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Revert "Remove all uses of G_CONST_RETURN"
This reverts commit 36741245cc
.
The removal has not been discussed, except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
This commit is contained in:
@@ -1073,7 +1073,7 @@ g_value_take_string (GValue *value,
|
||||
*
|
||||
* Returns: string content of @value
|
||||
*/
|
||||
const gchar *
|
||||
G_CONST_RETURN gchar*
|
||||
g_value_get_string (const GValue *value)
|
||||
{
|
||||
g_return_val_if_fail (G_VALUE_HOLDS_STRING (value), NULL);
|
||||
|
Reference in New Issue
Block a user