Remove all uses of G_CONST_RETURN

Just use 'const'.
This commit is contained in:
Ryan Lortie
2011-03-12 21:50:45 -05:00
parent 61b0e1c8d4
commit 36741245cc
35 changed files with 122 additions and 122 deletions

View File

@@ -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)