[gtk+/gtk-3-6] docs: Correct GtkWidget::scroll-event mask documentation



commit 92f536b907c25fabec79181e2f617c27ca0b4ff9
Author: David King <amigadave amigadave com>
Date:   Thu Nov 22 17:15:56 2012 +0000

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 58ad57a..c7313d6 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.
    *



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