There is a clear violation of const-correctness in In pixelgraph.h:
inline PixelGraph::PixelGraph(Glib::RefPtr<Gdk::Pixbuf const> pixbuf) // ... guint8 *pixels = pixbuf->get_pixels();
Since pixbuf is const, the last line above should be
guint8 const *pixels = pixbuf->get_pixels();
This issue breaks building libdepixelize with GTK4.
There is a clear violation of const-correctness in In pixelgraph.h:
inline PixelGraph: :PixelGraph( Glib::RefPtr< Gdk::Pixbuf const> pixbuf) >get_pixels( );
// ...
guint8 *pixels = pixbuf-
Since pixbuf is const, the last line above should be
guint8 const *pixels = pixbuf- >get_pixels( );
This issue breaks building libdepixelize with GTK4.