macos: Fix type func generation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 5 Mar 2023 17:20:50 +0000 (09:20 -0800)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 5 Mar 2023 18:17:52 +0000 (10:17 -0800)
We were checking for gdk_quartz even though
the sysbols are now all called gdk_macos. Oops.

gtk/gentypefuncs.py

index d5692de281317dd65b494b7444833ad28264b604..237da8dfb86cc0bb31f20448262556beb2385c9e 100644 (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']