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



commit e677cee28f14600336c271b2d74a1d82df4b47a9
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 d313a73..5b3b631 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -1957,7 +1957,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]