GNOME Bugzilla – Bug 148012
gtk_style_new() not wrapped
Last modified: 2004-12-22 21:47:04 UTC
The C function gtk_style_new() returns a GtkStyle* that has been initialized with the current style. Please wrap it with a function simmilar to: namespace Gtk { class Style { static Glib::RefPtr<Gtk::Style> create() { GtkStyle* ret = gtk_style_new(); return Glib::wrap(ret); } }; } Thanks.
A patch would be welcome. It probably just needs _CTOR_DEFAULT in the .hg file.
Created attachment 32432 [details] [review] create.patch
Done in HEAD. The patch is attached, to show how it's done.