Merge branch 'gdk-introspection-fix' into 'main'

introspection: Include deprecated gdk api in gir

See merge request GNOME/gtk!5999
This commit is contained in:
Matthias Clasen 2023-05-21 14:25:59 +00:00
commit 60dfa777f0
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
gdk_deprecated_sources = [
'deprecated/gdkpixbuf.c',
]
gdk_deprecated_sources = files([
'gdkpixbuf.c',
])
gdk_deprecated_headers = [
'deprecated/gdkpixbuf.h',
]
gdk_deprecated_headers = files([
'gdkpixbuf.h',
])

View File

@ -1195,7 +1195,7 @@ if build_gir
gdk_gir_inc = [ 'cairo-1.0', 'Gio-2.0', 'GdkPixbuf-2.0', 'Pango-1.0', 'PangoCairo-1.0' ]
gdk_gir = gnome.generate_gir(libgtk,
sources: gdk_public_headers + gdk_public_sources + [ gdkenum_h ],
sources: gdk_public_headers + gdk_deprecated_headers + gdk_public_sources + gdk_deprecated_sources + [ gdkenum_h ],
namespace: 'Gdk',
nsversion: gtk_api_version,
identifier_prefix: 'Gdk',