On Thu, 2006-05-18 at 18:55 -0500, Jonathon Jongsma wrote: > OK, I think I get it now, more or less. I've just noticed, however > that when I run the example from gtkmm CVS, I get the following > warning: > > (lt-example:29959): GLib-GObject-WARNING **: cannot add interface type > `GtkTreeModel' to type `gtkmm__CustomObject_16ExampleTreeModel', since > type `gtkmm__CustomObject_16ExampleTreeModel' already conforms to > interface > > It seems to be caused by the following lines in the constructor: > GType gtype = G_OBJECT_TYPE(gobj()); //The custom GType created in > the Object constructor, from the typeid. > Gtk::TreeModel::add_interface( gtype ); > > I don't have a lot of experience with GObject stuff, so I have no idea > whether these should be necessary or not. But it seems to run fine > and doesn't issue a warning when those lines are commented out. Any > thoughts?
Yes, I think I comment them out in Glom too. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list