RE: [gtkmm] how to free a pixbuf
- From: Murray Cumming Comneon com
- To: minutsil cse msu edu, gtkmm-list gnome org
- Subject: RE: [gtkmm] how to free a pixbuf
- Date: Wed, 15 Oct 2003 16:38:46 +0200
> From: Silviu D Minut [mailto:minutsil cse msu edu]
> I saw Glib::RefPtr<some_type>::clear(), so I tried
>
> pixbuf.clear();
Note that "pixbuf = 0" is the same thing and makes it clearer. It's just
like setting a regular pointer to 0. RefPtr::clear() has been removed in
glibmm 2.4 to avoid confusion.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]