+2005-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gmarkup.c: Add G_GNUC_PRINTF attribute
+ to set_error.
+ (g_markup_parse_context_end_parse): Fix an
+ error message, noticed by Tim Janik.
+
2005-02-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (BUILT_EXTRA_DIST): Don't distribute
+2005-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gmarkup.c: Add G_GNUC_PRINTF attribute
+ to set_error.
+ (g_markup_parse_context_end_parse): Fix an
+ error message, noticed by Tim Janik.
+
2005-02-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (BUILT_EXTRA_DIST): Don't distribute
+2005-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gmarkup.c: Add G_GNUC_PRINTF attribute
+ to set_error.
+ (g_markup_parse_context_end_parse): Fix an
+ error message, noticed by Tim Janik.
+
2005-02-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (BUILT_EXTRA_DIST): Don't distribute
+2005-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gmarkup.c: Add G_GNUC_PRINTF attribute
+ to set_error.
+ (g_markup_parse_context_end_parse): Fix an
+ error message, noticed by Tim Janik.
+
2005-02-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (BUILT_EXTRA_DIST): Don't distribute
(*context->parser->error) (context, error, context->user_data);
}
+static void set_error (GMarkupParseContext *context,
+ GError **error,
+ GMarkupError code,
+ const gchar *format,
+ ...) G_GNUC_PRINTF (4, 5);
+
static void
set_error (GMarkupParseContext *context,
GError **error,
case STATE_INSIDE_CLOSE_TAG_NAME:
set_error (context, error, G_MARKUP_ERROR_PARSE,
_("Document ended unexpectedly inside the close tag for "
- "element '%s'"), current_element);
+ "element '%s'"), current_element (context));
break;
case STATE_INSIDE_PASSTHROUGH: