mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Fix typo in gtk_window_set_default() documentation
The documentation should link to gtk_widget_grab_default() rather than gtk_widget_grab_focus(). https://bugzilla.gnome.org/show_bug.cgi?id=725559
This commit is contained in:
parent
07fc894020
commit
857e774a34
@ -2175,7 +2175,7 @@ _gtk_window_internal_set_focus (GtkWindow *window,
|
||||
* presses Enter in a dialog (for example). This function sets or
|
||||
* unsets the default widget for a #GtkWindow about. When setting
|
||||
* (rather than unsetting) the default widget it’s generally easier to
|
||||
* call gtk_widget_grab_focus() on the widget. Before making a widget
|
||||
* call gtk_widget_grab_default() on the widget. Before making a widget
|
||||
* the default widget, you must call gtk_widget_set_can_default() on the
|
||||
* widget you’d like to make the default.
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user