Skip gsk_ngl type funcs
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Oct 2021 16:37:55 +0000 (12:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 7 Oct 2021 17:05:53 +0000 (13:05 -0400)
The only type we have with this prefix is the
deprecated duplicate of gsk_gl_renderer_get_type(),
and including it causes some tests to break.
So skip it.

gtk/gentypefuncs.py

index 23a874aae79ff9ac805aab0c1ca13639dd04ac73..d5692de281317dd65b494b7444833ad28264b604 100644 (file)
@@ -79,6 +79,8 @@ for f in funcs:
     file_output += ['#ifdef GDK_RENDERING_VULKAN']
     file_output += ['*tp++ = {0}();'.format(f)]
     file_output += ['#endif']
+  elif f.startswith('gsk_ngl'):
+    file_output += ['']
   else:
     file_output += ['*tp++ = {0}();'.format(f)]