[gtk+] Fix typo in gtk_window_set_default() documentation



commit 857e774a3496a65377c5f14294a8dbb37db9af90
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Mon Mar 3 10:43:38 2014 +0000

    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

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index aeda7f6..ab51e48 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -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.
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]