Re: [gtkmm] BUG: Gdk::PixbufLoader must outlive its Gtk::Image



On Mon, 2002-07-15 at 15:15, Christof Petig wrote:
> Dear Gtkmm developers,
> 
> While embedding compressed pictures (.png/.jpg) within Gtkmm2 programs I 
> came across the following bug:
> 
> If the Gdk::PixbufLoader is destroyed after a Gtk::Image is created from 
> the pixbuf the program segfaults. Shouldn't it ref the Pixbuf?

Yes. Fixed. gtk+ is inconsistent about whether it supplies a ref-ed
object or whether the caller needs to ref.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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