macos: Fix type func generation

We were checking for gdk_quartz even though
the sysbols are now all called gdk_macos. Oops.
This commit is contained in:
Matthias Clasen 2023-03-05 09:20:50 -08:00
parent 0fa1e71ef0
commit be11202538

View File

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