[gtk/ngl-is-the-new-gl: 5/5] Skip gsk_ngl type funcs




commit f868c67429bc1198d6f33c3d1eec1d8c5f60fba8
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 7 12:37:55 2021 -0400

    Skip gsk_ngl type funcs
    
    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 | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gentypefuncs.py b/gtk/gentypefuncs.py
index 23a874aae7..d5692de281 100644
--- a/gtk/gentypefuncs.py
+++ b/gtk/gentypefuncs.py
@@ -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)]
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]