Bug#908745: libgtk3-perl: avoid using deprecated gdk_pixbuf_new_from_inline()

intrigeri intrigeri at debian.org
Tue Jul 16 15:41:54 BST 2019


Hi Simon!

Simon McVittie:
> In Perl I think that would be spelled something like:

> sub Gtk3::Gdk::Pixbuf::new_from_data {
>   my ($class, $data, $colorspace, $has_alpha, $bits_per_sample, $width, $height, $rowstride) = @_;
>   return Gtk3::Gdk::Pixbuf->new_from_bytes(GLib::Bytes->new($data),
>                                            $colorspace, $has_alpha,
>                                            $bits_per_sample, $width,
>                                            $height, $rowstride);
> }

Thank you. I've built upon your work and submitted
https://gitlab.gnome.org/GNOME/perl-gtk3/merge_requests/2 upstream.

I don't feel confident enough to upload this change to Debian before
upstream reviews it.

Cheers,
-- 
intrigeri



More information about the pkg-perl-maintainers mailing list