diff --git a/docs/reference/gio/meson.build b/docs/reference/gio/meson.build index 01db208ad..1a0edbee8 100644 --- a/docs/reference/gio/meson.build +++ b/docs/reference/gio/meson.build @@ -101,11 +101,7 @@ if get_option('with-docs') gobject_typesfile : 'gio.types', mode : 'none', dependencies : [libgio_dep, libgobject_dep, libglib_dep], - src_dir : [ - # TODO: Cleanup upstream - join_paths(meson.source_root(), 'gio'), - join_paths(meson.build_root(), 'gio'), - ], + src_dir : 'gio', scan_args : [ '--rebuild-types', '--deprecated-guards=G_DISABLE_DEPRECATED', diff --git a/docs/reference/glib/meson.build b/docs/reference/glib/meson.build index 86adb92f1..b76b9e4e8 100644 --- a/docs/reference/glib/meson.build +++ b/docs/reference/glib/meson.build @@ -49,13 +49,7 @@ if get_option('with-docs') main_xml : 'glib-docs.xml', namespace : 'g', mode : 'none', - src_dir : [ - # TODO: Cleanup upstream - join_paths(meson.source_root(), 'glib'), - join_paths(meson.build_root(), 'glib'), - join_paths(meson.source_root(), 'gmodule'), - join_paths(meson.build_root(), 'gmodule'), - ], + src_dir : [ 'glib', 'gmodule' ], dependencies : libglib_dep, scan_args : [ '--rebuild-types', diff --git a/docs/reference/gobject/meson.build b/docs/reference/gobject/meson.build index 2eca23879..fc3de24a0 100644 --- a/docs/reference/gobject/meson.build +++ b/docs/reference/gobject/meson.build @@ -23,11 +23,7 @@ if get_option('with-docs') gobject_typesfile : 'gobject.types', mode : 'none', dependencies : [libgobject_dep, libglib_dep], - src_dir : [ - # TODO: Cleanup upstream - join_paths(meson.source_root(), 'gobject'), - join_paths(meson.build_root(), 'gobject'), - ], + src_dir : 'gobject', scan_args : [ '--deprecated-guards=G_DISABLE_DEPRECATED', '--ignore-decorators=G_GNUC_INTERNAL|G_GNUC_WARN_UNUSED_RESULT',