GNOME Bugzilla – Bug 349650
Gtk::FontButton(const Glib::ustring&) constructor does not work
Last modified: 2006-08-02 16:23:50 UTC
Please describe the problem: The constructor tries to set the property "fontname" of the button, but the correct property name is "font-name". Steps to reproduce: 1. Call the Gtk::FontButton constructor with a font name as argument. Actual results: It prints a warning that says that there is no "fontname" property in GtkFontButton and does not set the correct font but stil displays the default "Sans 12". Expected results: It should initialize the button with the given font. Does this happen every time? Yes. Other information:
Created attachment 70064 [details] [review] Proposed patch The patch renames the argument in Gtk::FontButton::FontButton to font_name which causes gmmproc to generate the correct property name.
Excellent. Someone should commit this.
I've committed it to HEAD, gtkmm-2-8, and gtkmm-2-6. Do I need to go back to 2-4 as well?
No, don't worry. We can do that if somebody needs it. Many thanks for the multiple-comitting work.