mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
css: Clarify docs for GtkCssProvider::parser-error
Some of these errors should not be fatal. Related: #6736
This commit is contained in:
parent
282510e113
commit
4ec4280e51
@ -220,6 +220,9 @@ gtk_css_provider_class_init (GtkCssProviderClass *klass)
|
|||||||
*
|
*
|
||||||
* Signals that a parsing error occurred.
|
* Signals that a parsing error occurred.
|
||||||
*
|
*
|
||||||
|
* The expected error values are in the [error@Gtk.CssParserError]
|
||||||
|
* and [enum@Gtk.CssParserWarning] enumerations.
|
||||||
|
*
|
||||||
* The @path, @line and @position describe the actual location of
|
* The @path, @line and @position describe the actual location of
|
||||||
* the error as accurately as possible.
|
* the error as accurately as possible.
|
||||||
*
|
*
|
||||||
@ -228,6 +231,9 @@ gtk_css_provider_class_init (GtkCssProviderClass *klass)
|
|||||||
* even all of it to not be parsed at all. So it is a useful idea
|
* even all of it to not be parsed at all. So it is a useful idea
|
||||||
* to check that the parsing succeeds by connecting to this signal.
|
* to check that the parsing succeeds by connecting to this signal.
|
||||||
*
|
*
|
||||||
|
* Errors in the [enum@Gtk.CssParserWarning] enumeration should not
|
||||||
|
* be treated as fatal errors.
|
||||||
|
*
|
||||||
* Note that this signal may be emitted at any time as the css provider
|
* Note that this signal may be emitted at any time as the css provider
|
||||||
* may opt to defer parsing parts or all of the input to a later time
|
* may opt to defer parsing parts or all of the input to a later time
|
||||||
* than when a loading function was called.
|
* than when a loading function was called.
|
||||||
|
Loading…
Reference in New Issue
Block a user