Den 2017-10-04 kl. 00:13, skrev Alexander Shaduri:The following comment comes from gtkmm/gdk/src/drawingcontext.hg:Hi, I'm trying to set a "surface" property on Gtk::CellRendererPixbuf and getting a gtk error: "unable to set property 'surface' of type 'CairoSurface' from value of type 'glibmm__CustomBoxed_N5Cairo6RefPtrINS_7SurfaceEEE'" // A wrapped property_clip() would require a template specialization // Glib::Value<Cairo::RefPtr<T>>. //_WRAP_PROPERTY("clip", ::Cairo::RefPtr< ::Cairo::Region>) Compare with _WRAP_PROPERTY("surface", ::Cairo::RefPtr< ::Cairo::Surface>) from gtkmm/gtk/src/cellrendererpixbuf.hg. Not much chance that CellRendererPixbuf::property_surface() will work. You can file a bug report in Bugzilla. Kjell |