diff options
Diffstat (limited to 'gobject/gtype.h')
-rw-r--r-- | gobject/gtype.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/gtype.h b/gobject/gtype.h index 7ba9364ba..549ba036e 100644 --- a/gobject/gtype.h +++ b/gobject/gtype.h @@ -666,7 +666,7 @@ typedef enum /*< skip >*/ /* --- prototypes --- */ void g_type_init (void); void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags); -const gchar * g_type_name (GType type); +G_CONST_RETURN gchar* g_type_name (GType type); GQuark g_type_qname (GType type); GType g_type_from_name (const gchar *name); GType g_type_parent (GType type); @@ -1657,8 +1657,8 @@ gboolean g_type_test_flags (GType type, /* --- debugging functions --- */ -const gchar * g_type_name_from_instance (GTypeInstance *instance); -const gchar * g_type_name_from_class (GTypeClass *g_class); +G_CONST_RETURN gchar* g_type_name_from_instance (GTypeInstance *instance); +G_CONST_RETURN gchar* g_type_name_from_class (GTypeClass *g_class); /* --- internal functions --- */ |