On Thu, 2011-06-30 at 17:03 +0200, Kjell Ahlstedt wrote: > The attached file contains a backtrace from gdb, that I saved after a > short investigation in connection with the message > http://mail.gnome.org/archives/gtkmm-list/2011-April/msg00078.html > > An excerpt from the backtrace: > g_type_add_interface_static > Glib::Interface_Class::add_interface > Glib::Interface::Interface > Gtk::CellEditable::CellEditable > > The GtkCellEditable interface installs the editing-canceled attribute > with g_object_interface_install_property(). Every class that implements > the interface must register the attribute with > g_object_class_override_property() before g_type_add_interface_static() > is called. How can a custom object do that? > > This is no problem when a C++ class wraps a GTK+ C class which > implements the GtkCellEditable interface. Then the C class makes all > necessary registrations.
Glib::Property<> (or PropertyProxy<>?) somehow registers the property in the GType system. Maybe it can be made to automatically override rather than register when appropriate. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
