Gdk::Window::create_similar_image_surface returns regular Cairo::Surface, should return Cairo::ImageSurface
Submitted by Sergey Koziakov
Link to original bug (#793572)
Description
As GTK Cairo Interaction documentation states, ( https://developer.gnome.org/gdk3/stable/gdk3-Cairo-Interaction.html#gdk-window-create-similar-image-surface ), method Gdk::Window::create_similar_image_surface
, which is, I believe, binding to function gdk_window_create_similar_image_surface
in GTK+, should return reference pointer to image surface (::Cairo::RefPtr<::Cairo::ImageSurface>
), but it returns reference pointer to regular surface (:Cairo::RefPtr< ::Cairo::Surface>
).
Version: 3.22.x