From 92f536b907c25fabec79181e2f617c27ca0b4ff9 Mon Sep 17 00:00:00 2001 From: David King Date: Thu, 22 Nov 2012 17:15:56 +0000 Subject: [PATCH] docs: Correct GtkWidget::scroll-event mask documentation Since GTK+ 3.3.18, GDK_SCROLL_MASK has been used as the mask for scroll events. Update the documentation to reflect this. https://bugzilla.gnome.org/show_bug.cgi?id=677339 --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 58ad57af23..c7313d6796 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1960,7 +1960,7 @@ gtk_widget_class_init (GtkWidgetClass *klass) * button press events for buttons 4 and 5 when the wheel is turned. * * To receive this signal, the #GdkWindow associated to the widget needs - * to enable the #GDK_BUTTON_PRESS_MASK mask. + * to enable the #GDK_SCROLL_MASK mask. * * This signal will be sent to the grab widget if there is one. *