Merge branch 'matthiasc/for-main' into 'main'

macos: Fix type func generation

See merge request GNOME/gtk!5596
This commit is contained in:
Matthias Clasen 2023-03-06 05:50:36 +00:00
commit 343852af7b

View File

@ -71,7 +71,7 @@ for f in funcs:
file_output += ['#ifdef GDK_WINDOWING_WIN32'] file_output += ['#ifdef GDK_WINDOWING_WIN32']
file_output += ['*tp++ = {0}();'.format(f)] file_output += ['*tp++ = {0}();'.format(f)]
file_output += ['#endif'] file_output += ['#endif']
elif f.startswith('gdk_quartz'): elif f.startswith('gdk_macos'):
file_output += ['#ifdef GDK_WINDOWING_MACOS'] file_output += ['#ifdef GDK_WINDOWING_MACOS']
file_output += ['*tp++ = {0}();'.format(f)] file_output += ['*tp++ = {0}();'.format(f)]
file_output += ['#endif'] file_output += ['#endif']