GNOME Bugzilla – Bug 151863
Gtk::Screen::get_default() needs to take a reference
Last modified: 2004-12-22 21:47:04 UTC
Since gdk_screen_get_default() returns a reference to a global object (or NULL), the owning RefPtr must have its reference count must be incremented at construction time. This bug is similar to #147592.
Created attachment 31271 [details] [review] Patch to ChangeLog and gdk/src/screen.hg This patch is against CVS HEAD
Created attachment 31273 [details] [review] Patch to ChangeLog and gdk/src/screen.hg This patch is against the gtkmm-2-4 branch.
This looks good. Please commit to all branches, if you have cvs write access. Thanks.
To the best of my knowledge, I do not have write access.
Committed to 2.4 branch.
Committed to HEAD.