GTK 4.0
GTK 4.0
Posted Dec 17, 2020 10:06 UTC (Thu) by mchehab (subscriber, #41156)In reply to: GTK 4.0 by atnot
Parent article: GTK 4.0
I did a port of Camorama from Gtk3 to Gtk3 two years ago, and I tried to keep it ready for Gtk4.
Camorama works by creating a GtkDrawingArea, mapping a callback that would allow filling the pixbuf area from the data retrieved from the camera. It turns that they dropped support for gdk_cairo_surface_create_from_pixbuf(). The git log is short, and just says that "it's unused", without providing any glue about how to replace it:
https://gitlab.gnome.org/GNOME/gtk/commit/7ef8696a7dc2c7a...
I remember I tried hard on that time (Gtk 3.94) to see a replacement for that. I found none. The migration instructions at:
https://developer.gnome.org/gtk4/stable/gtk-migrating-3-t...
Also doesn't help.
