[gtk+/wip/matthiasc/kill-event-signals] docs: Stop referring to legacy event signals
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/kill-event-signals] docs: Stop referring to legacy event signals
- Date: Wed, 10 Jan 2018 23:54:51 +0000 (UTC)
commit 248de956bb87463fbbc8eb47a0a494bcd671a555
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 10 18:52:39 2018 -0500
docs: Stop referring to legacy event signals
These are going away.
gtk/gtkgesture.c | 7 +++----
gtk/gtkscrolledwindow.c | 6 +++---
2 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index b34c4dd..9565fa2 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 18b8318..7936c8b 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.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]