Re: Gtk::Entry Icon
- From: Murray Cumming <murrayc murrayc com>
- To: Krzesimir Nowak <qdlacz gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::Entry Icon
- Date: Fri, 18 Mar 2011 11:21:02 +0100
On Fri, 2011-03-18 at 11:17 +0100, Krzesimir Nowak wrote:
> Glib::RefPtr<Gdk::Pixbuf>() is an empty refptr, which is a glibmm's
> NULL pointer, so it should unset an icon.
That's not generally a good idea. gtkmm code might dereference it
without checking. It's simpler to just use the C API.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]