The copy is done as follows, to support copy-on-write:

 * This function will cause an implicit copy of the pixbuf data if the
* pixbuf was created from read-only data.


https://git.gnome.org/browse/gdk-pixbuf/tree/gdk-pixbuf/gdk-pixbuf.c#n674


I thought as long as the apparent functioning of the object is still
the same to external users, then it is allowed to make internal
changes even on a const instance? Using mutable members.


If so, then maybe it would still be OK to wrap that as a const method.
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to