GNOME Bugzilla – Bug 147704
Gtk::Settings::get_default() incorrectly uses Glib::RefPtr
Last modified: 2004-12-22 21:47:04 UTC
I am experiencing random crashes when using Gtk::Settings::get_default(). The problem appears to be caused by the use of the RefPtr: if you look into the implementation of gtk_settings_get_default(), you'll notice that the caller of that function is not the owner of the returned data. The GdkSettings object is not supposed to be freed when it is not longer used, as the GdkSettings object is "attached" to the underlying GdkScreen.
This is a duplicate of #147592, which you entered yourself. *** This bug has been marked as a duplicate of 147592 ***