[gtk] eventcontrollerlegact: Fix ::event docs
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] eventcontrollerlegact: Fix ::event docs
- Date: Thu, 8 Nov 2018 04:51:21 +0000 (UTC)
commit 0b4ee06f8e7f216fc932ad567f5ebeb4186b903f
Author: Timm Bäder <mail baedert org>
Date: Thu Nov 8 05:19:30 2018 +0100
eventcontrollerlegact: Fix ::event docs
As discussed in !388.
gtk/gtkeventcontrollerlegacy.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkeventcontrollerlegacy.c b/gtk/gtkeventcontrollerlegacy.c
index 33b38203f5..b3c8c62398 100644
--- a/gtk/gtkeventcontrollerlegacy.c
+++ b/gtk/gtkeventcontrollerlegacy.c
@@ -63,7 +63,7 @@ gtk_event_controller_legacy_class_init (GtkEventControllerLegacyClass *klass)
controller_class->handle_event = gtk_event_controller_legacy_handle_event;
/**
- * GtkEventController::event:
+ * GtkEventControllerLegacy::event:
* @controller: the object which received the signal.
* @event: the #GdkEvent which triggered this signal
*
@@ -71,17 +71,17 @@ gtk_event_controller_legacy_class_init (GtkEventControllerLegacyClass *klass)
* to @controller.
*
* Returns: %TRUE to stop other handlers from being invoked for the event
- * and to cancel the emission of the second specific ::event signal.
- * %FALSE to propagate the event further.
+ * and the emission of this signal. %FALSE to propagate the event further.
*/
signals[EVENT] =
g_signal_new (I_("event"),
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- 0, _gtk_boolean_handled_accumulator, NULL,
- _gtk_marshal_BOOLEAN__OBJECT,
- G_TYPE_BOOLEAN, 1,
- GDK_TYPE_EVENT);
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST,
+ 0, _gtk_boolean_handled_accumulator, NULL,
+ _gtk_marshal_BOOLEAN__OBJECT,
+ G_TYPE_BOOLEAN, 1,
+ GDK_TYPE_EVENT);
+
g_signal_set_va_marshaller (signals[EVENT], G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__OBJECTv);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]