From 74a1c0916a4b3b0ec912edf076467796cbabdd51 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 18 Apr 2024 12:49:18 -0400 Subject: [PATCH] Add a missing deprecation note GdkVulkanContext is deprecated and only exposed in the api because we need it as return type of the (deprecated) gdk_surface_create_vulkan_context() API. --- gdk/gdkvulkancontext.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index 8c72862338..48b17b0803 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -57,6 +57,9 @@ static const GdkDebugKey gsk_vulkan_feature_keys[] = { * * Support for `GdkVulkanContext` is platform-specific and context creation * can fail, returning %NULL context. + * + * Deprecated: 4.14: GTK does not expose any Vulkan internals. This + * struct is a leftover that was accidentally exposed. */ typedef struct _GdkVulkanContextPrivate GdkVulkanContextPrivate;