]> Pileus Git - ~andy/gtk/commitdiff
docs: Correct GtkWidget::scroll-event mask documentation
authorDavid King <amigadave@amigadave.com>
Thu, 22 Nov 2012 17:15:56 +0000 (17:15 +0000)
committerDavid King <amigadave@amigadave.com>
Thu, 22 Nov 2012 21:36:40 +0000 (21:36 +0000)
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

index d313a73a5784df12ef469a06ab25bf3f36f53ac0..5b3b6312191781f67a0fe1bcc7024d7d8dda5163 100644 (file)
@@ -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.
    *