GNOME Bugzilla – Bug 169442
Overridden methods of interfaces don't work because of incorrect function call.
Last modified: 2005-03-07 15:22:51 UTC
I was working on Coaster the other day and its Data::Store (inherited from Gtk::TreeStore) overrides on_row_changed from Gtk::TreeModel. It wasn't calling the override (using 2.5.6) and I found that the new code to prevent adding an interface twice was causing this. I've attached a patch to fix this.
Created attachment 38350 [details] [review] interface_fix.diff
But g_type_is_type() does seems to take g_type_is_type(base, derived): http://developer.gimp.org/api/2.0/gobject/gobject-Type-Information.html#id2859211 Possibly you have made some other mistake.
Yes, Gtk::TreeStore is already GtkTreeModel. Are you explicitly calling add_interface() too?
examples/book/treeview/drag_and_drop has the same problem. I have disabled the check for now. It's not that important.