mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
Remove all uses of G_CONST_RETURN
Just use 'const'.
This commit is contained in:
@@ -3279,7 +3279,7 @@ g_type_default_interface_unref (gpointer g_iface)
|
||||
*
|
||||
* Returns: Static type name or %NULL.
|
||||
*/
|
||||
G_CONST_RETURN gchar*
|
||||
const gchar *
|
||||
g_type_name (GType type)
|
||||
{
|
||||
TypeNode *node;
|
||||
@@ -4206,7 +4206,7 @@ g_type_value_table_peek (GType type)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
G_CONST_RETURN gchar*
|
||||
const gchar *
|
||||
g_type_name_from_instance (GTypeInstance *instance)
|
||||
{
|
||||
if (!instance)
|
||||
@@ -4215,7 +4215,7 @@ g_type_name_from_instance (GTypeInstance *instance)
|
||||
return g_type_name_from_class (instance->g_class);
|
||||
}
|
||||
|
||||
G_CONST_RETURN gchar*
|
||||
const gchar *
|
||||
g_type_name_from_class (GTypeClass *g_class)
|
||||
{
|
||||
if (!g_class)
|
||||
|
Reference in New Issue
Block a user