Re: Glib::RefPtr
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Glib::RefPtr
- Date: Sun, 8 Oct 2017 15:47:03 +0100
How do you create m_pFrame, and what do you do with it between creating it and finding it to be 0?
It sounds to be like you might be Gtk::manage()ing it and then adding it to a container, in which case, that container sinks the floating reference and takes over ownership completely. If so, you'd need to not do that; have it as a non-pointer member and just hand out observing references/pointers to it.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]