[gtkmm] Re: [Re: [gtkmm]
- From: Murray Cumming <murrayc usa net>
- To: "Martin Schulze" <MHL Schulze t-online de>, Daniel Elstner <daniel elstner gmx net>
- Cc: <gtkmm-list gnome org>
- Subject: [gtkmm] Re: [Re: [gtkmm]
- Date: Thu, 10 Oct 2002 20:47:31 +0100
MHL Schulze t-online de (Martin Schulze) wrote:
> This is only a technical note about the current gtkmm2 code to avoid
> misunderstandings:
> Using Glib::RefPtr<Foo>(new Foo()) doesn't work if Foo inherits
> Gtk::Object: The c++ wrapper Foo will never be deleted because the
> line "delete this" in Gtk::Object::destroy_notify_() is not executed
> unless "referenced_" is false, i.e. unless the object is manage()ed.
I suspect that this is true, and Daniel mentioned the same issue in Berlin.
But I'd like to see test code. Then we would at least know when we've fixed
it.
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]