forked from AuroraMiddleware/gtk
Conditionally include the GSK broadway and vulkan symbols
In case GTK is built without these features.
This commit is contained in:
parent
20d0d6fae2
commit
d08310096c
@ -59,7 +59,7 @@ for f in funcs:
|
|||||||
file_output += ['#ifdef GDK_WINDOWING_X11']
|
file_output += ['#ifdef GDK_WINDOWING_X11']
|
||||||
file_output += ['*tp++ = {0}();'.format(f)]
|
file_output += ['*tp++ = {0}();'.format(f)]
|
||||||
file_output += ['#endif']
|
file_output += ['#endif']
|
||||||
elif f.startswith('gdk_broadway'):
|
elif f.startswith('gdk_broadway') or f.startswith('gsk_broadway'):
|
||||||
file_output += ['#ifdef GDK_WINDOWING_BROADWAY']
|
file_output += ['#ifdef GDK_WINDOWING_BROADWAY']
|
||||||
file_output += ['*tp++ = {0}();'.format(f)]
|
file_output += ['*tp++ = {0}();'.format(f)]
|
||||||
file_output += ['#endif']
|
file_output += ['#endif']
|
||||||
@ -75,6 +75,10 @@ for f in funcs:
|
|||||||
file_output += ['#ifdef GDK_WINDOWING_QUARTZ']
|
file_output += ['#ifdef GDK_WINDOWING_QUARTZ']
|
||||||
file_output += ['*tp++ = {0}();'.format(f)]
|
file_output += ['*tp++ = {0}();'.format(f)]
|
||||||
file_output += ['#endif']
|
file_output += ['#endif']
|
||||||
|
elif f.startswith('gsk_vulkan'):
|
||||||
|
file_output += ['#ifdef GDK_RENDERING_VULKAN']
|
||||||
|
file_output += ['*tp++ = {0}();'.format(f)]
|
||||||
|
file_output += ['#endif']
|
||||||
else:
|
else:
|
||||||
file_output += ['*tp++ = {0}();'.format(f)]
|
file_output += ['*tp++ = {0}();'.format(f)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user