Re: [gtkmm] BUG: Gdk::PixbufLoader must outlive its Gtk::Image
- From: Murray Cumming <murrayc usa net>
- To: Christof Petig <christof petig-baender de>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] BUG: Gdk::PixbufLoader must outlive its Gtk::Image
- Date: 15 Jul 2002 17:24:35 +0100
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]