[gtk/gtk-3-22] Widget: Fix doc of default ::keynav-failed handler



commit 56d44fd10cf5c4bb121591a56dc69c2c1537f1c8
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date:   Thu Feb 1 00:00:00 2018 +0000

    Widget: Fix doc of default ::keynav-failed handler
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793089

 gtk/gtkwidget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index c910e43f7b..af591ff97f 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11039,9 +11039,9 @@ gtk_widget_child_focus (GtkWidget       *widget,
  * navigation outside the widget, e.g. by calling
  * gtk_widget_child_focus() on the widget’s toplevel.
  *
- * The default ::keynav-failed handler returns %TRUE for
+ * The default ::keynav-failed handler returns %FALSE for
  * %GTK_DIR_TAB_FORWARD and %GTK_DIR_TAB_BACKWARD. For the other
- * values of #GtkDirectionType it returns %FALSE.
+ * values of #GtkDirectionType it returns %TRUE.
  *
  * Whenever the default handler returns %TRUE, it also calls
  * gtk_widget_error_bell() to notify the user of the failed keyboard


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