GNOME Bugzilla – Bug 87560
Wrong return type for Gtk::Style::create()
Last modified: 2004-12-22 21:47:04 UTC
Gtk::Style::create() now returns a Glib::RefPtr<Glib::Object> (inherited member from Glib::Object). This looks like a bug, it should actually return Glib::RefPtr<Gtk::Style>.
Created attachment 9689 [details] [review] cellrendererdocs.patch
Murray, wrong bug :-)
But the correct person at least. I don't think that you are meant to instantiate a Gtk::Style object directly anyway. You probably get it from a widget. 2002-07-07 Murray Cumming <murrayc@usa.net> * Removed Glib::Object::create(). It was meant as an example for derived classes, but it is inherited publically so it just confuses the API of derived classes, such as Gtk::Style, that have no create() method, because they can not be instantiated. Problem found by Morten Brix Pedersen.