From be112025383b31648ca1bee6aff2d7fd76699fee Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 5 Mar 2023 09:20:50 -0800 Subject: [PATCH] macos: Fix type func generation We were checking for gdk_quartz even though the sysbols are now all called gdk_macos. Oops. --- gtk/gentypefuncs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']