diff --git a/gtk/gtkcssreferencevalue.c b/gtk/gtkcssreferencevalue.c index 19092b2ca7..27881cb17d 100644 --- a/gtk/gtkcssreferencevalue.c +++ b/gtk/gtkcssreferencevalue.c @@ -224,11 +224,11 @@ parser_error (GtkCssParser *parser, if (names[i + 1]) g_set_error (&new_error, - GTK_CSS_PARSER_ERROR, GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE, + error->domain, error->code, "While expanding %s: %s", names[i + 1], error->message); else g_set_error_literal (&new_error, - GTK_CSS_PARSER_ERROR, GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE, + error->domain, error->code, error->message); if (vars[i]->section == NULL) diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index 2ca4a999ca..32809c79ba 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -76,6 +76,13 @@ G_BEGIN_DECLS * Since: 4.8 */ +/** + * GTK_DEBUG_CSS: + * + * Information about deprecated CSS features. + * + * Since: 4.16 + */ typedef enum { GTK_DEBUG_TEXT = 1 << 0, GTK_DEBUG_TREE = 1 << 1,