GNOME Bugzilla – Bug 109688
Gtk::Window::set_default() docu bug
Last modified: 2004-12-22 21:47:04 UTC
The documenation states that you use the macro GTK_WIDGET_SET_FLAGS() to set the flag Gtk::CAN_DEFAULT for a widget you wish to use as default. This is wrong and will not work (it's a C macro). Instead you use the method Gtk::Widget::set_flags() to change widget flags. The patch changes the ChangeLog and the documentation in gtk_docs_override.xml
Created attachment 15355 [details] [review] Documentation patch
Great. You've got the idea. If you are overriding the text anyway, it's best to use C++ names rather than relying on gtkmmproc to morph the C function names to C++ equivalents. So, I have to ask you whether you tested this by building the html reference docs with it, and whether that then shows e.g. "Gtk::Widget::set_flags()" instead of "gtk_widget_set_flags".
Right - gtkmmproc does not do the morphing (as I assumed). My fault. Have to use the proper C++ names.
Created attachment 15365 [details] [review] Documentation patch with C++ names
Thanks. Well done. This should be applied.
Applied. Thanks. Sorry for the delay.