From: Matthias Clasen Date: Sun, 5 Mar 2023 17:20:50 +0000 (-0800) Subject: macos: Fix type func generation X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~5^2~55^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=be112025383b31648ca1bee6aff2d7fd76699fee;p=gtk4.git macos: Fix type func generation We were checking for gdk_quartz even though the sysbols are now all called gdk_macos. Oops. --- diff --git a/gtk/gentypefuncs.py b/gtk/gentypefuncs.py index d5692de281..237da8dfb8 100644 --- a/gtk/gentypefuncs.py +++ b/gtk/gentypefuncs.py @@ -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']