vulkan: remove unneeded #ifdef for GAutoPtr
authorMatthew Waters <matthew@centricular.com>
Tue, 17 May 2022 06:32:09 +0000 (16:32 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 14 Jun 2022 03:34:05 +0000 (03:34 +0000)
Not necessary anymore as we depend on a new enough Glib version

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2470>

subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimageview.h

index 2fb5710..644335a 100644 (file)
@@ -117,9 +117,7 @@ gst_clear_vulkan_image_view (GstVulkanImageView ** view_ptr)
   gst_clear_mini_object ((GstMiniObject **) view_ptr);
 }
 
-#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVulkanImageView, gst_vulkan_image_view_unref)
-#endif
 
 GST_VULKAN_API
 GstVulkanImageView *    gst_vulkan_image_view_new           (GstVulkanImageMemory * image,