summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-01-10 18:52:39 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-01-16 14:14:10 -0500
commit4b613c2f6a6788c2cd11ccc3bd9019cd44411318 (patch)
tree0321d40d3c42b87f3956aec62ca838a8f98cc9ab
parenta94d2826aeecc772dd593bbb82236c6ed148cfd7 (diff)
downloadgtk+-4b613c2f6a6788c2cd11ccc3bd9019cd44411318.tar.gz
docs: Stop referring to legacy event signals
These are going away.
-rw-r--r--gtk/gtkgesture.c7
-rw-r--r--gtk/gtkscrolledwindow.c6
2 files changed, 6 insertions, 7 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index b34c4dd956..9565fa26e0 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -54,10 +54,9 @@
* target widget, and gestures that are attached to containers above the widget
* get a chance to interact with the event before it reaches the target.
*
- * After the capture phase, GTK+ emits the traditional #GtkWidget::button-press-event,
- * #GtkWidget::button-release-event, #GtkWidget::touch-event, etc signals. Gestures
- * with the %GTK_PHASE_TARGET phase are fed events from the default #GtkWidget::event
- * handlers.
+ * After the capture phase, GTK+ emits the traditional #GtkWidget::event signal.
+ * Gestures with the %GTK_PHASE_TARGET phase are fed events from the default
+ * #GtkWidget::event handlers.
*
* In the bubble phase, events are propagated up from the target widget to the
* toplevel, and gestures that are attached to containers above the widget get
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 18b831884e..7936c8b877 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -2560,9 +2560,9 @@ gtk_scrolled_window_get_kinetic_scrolling (GtkScrolledWindow *scrolled_window)
* then later replayed if it is meant to go to the child widget.
*
* This should be enabled if any child widgets perform non-reversible
- * actions on #GtkWidget::button-press-event. If they don't, and handle
- * additionally handle #GtkWidget::grab-broken-event, it might be better
- * to set @capture_button_press to %FALSE.
+ * actions on button press events. If they don't, and additionally handle
+ * #GtkWidget::grab-broken-event, it might be better to set @capture_button_press
+ * to %FALSE.
*
* This setting only has an effect if kinetic scrolling is enabled.
*