Re: [gtkmm] "manage" and Glib::RefPtr



On Tue, 8 Oct 2002, Martin Schulze wrote:

> The problem is that Gtk::Button with a mnemonic starts with a
> reference count of two after construction. This means a child (the
> mnemonic) holds a strong reference to its parent (the Gtk::Button). We
> would have to add some workaraund code for this or Gtk::Buttons with
> mnemonics would never be deleted when manage_ref()ed.

I think I've seen some mail on the gtk list about this being an actual
bug.

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Az egészséges élet a lehetô leglassabb módja a halálnak.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]