Merge branch 'ebassi/docs-fixes' into 'master'

Enable fatal warnings for gi-docgen

See merge request GNOME/gtk!3587
This commit is contained in:
Emmanuele Bassi 2021-05-25 12:57:28 +00:00
commit da1e43c1e6
4 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
@ -34,6 +35,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
@ -57,6 +59,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',

View File

@ -8,6 +8,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',

View File

@ -37,6 +37,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',

View File

@ -5019,7 +5019,7 @@ gtk_label_get_layout (GtkLabel *self)
* inside the [class@Pango.Layout], e.g. to take some action if some part
* of the label is clicked. Remember when using the [class@Pango.Layout]
* functions you need to convert to and from pixels using PANGO_PIXELS()
* or [constant@Pango.SCALE].
* or [const@Pango.SCALE].
*/
void
gtk_label_get_layout_offsets (GtkLabel *self,