summaryrefslogtreecommitdiff
path: root/glib/gmarkup.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gmarkup.h')
-rw-r--r--glib/gmarkup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gmarkup.h b/glib/gmarkup.h
index a69f6e2a6..ab0190efe 100644
--- a/glib/gmarkup.h
+++ b/glib/gmarkup.h
@@ -194,8 +194,8 @@ gpointer g_markup_parse_context_pop (GMarkupParseContext *context)
gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
GError **error);
-const gchar * g_markup_parse_context_get_element (GMarkupParseContext *context);
-const GSList * g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
+G_CONST_RETURN gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
+G_CONST_RETURN GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
/* For user-constructed error messages, has no precise semantics */
void g_markup_parse_context_get_position (GMarkupParseContext *context,