summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2020-09-03 09:36:00 +0300
committerSebastian Dröge <sebastian@centricular.com>2020-09-03 09:36:00 +0300
commitec1a48e830b63272ee4cb505aa7f902cc29699e4 (patch)
tree9e64a3762e73dd092d6d10c62a5aaf3e46780423
parente85a29852885c1f10165fa97907c89a0a9c61b75 (diff)
downloadgtk+-ec1a48e830b63272ee4cb505aa7f902cc29699e4.tar.gz
Fix event type annotation on GtkEntry::icon-press / icon-release
This is not only a GdkEventButton but can also be a GdkEventTouch. Having this annotation wrong causes bindings code to fail whenever a wrongly typed event comes through.
-rw-r--r--gtk/gtkentry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index e3d512ba6f..864c217408 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -1851,7 +1851,7 @@ gtk_entry_class_init (GtkEntryClass *class)
* GtkEntry::icon-press:
* @entry: The entry on which the signal is emitted
* @icon_pos: The position of the clicked icon
- * @event: (type Gdk.EventButton): the button press event
+ * @event: the button press event
*
* The ::icon-press signal is emitted when an activatable icon
* is clicked.
@@ -1873,7 +1873,7 @@ gtk_entry_class_init (GtkEntryClass *class)
* GtkEntry::icon-release:
* @entry: The entry on which the signal is emitted
* @icon_pos: The position of the clicked icon
- * @event: (type Gdk.EventButton): the button release event
+ * @event: the button release event
*
* The ::icon-release signal is emitted on the button release from a
* mouse click over an activatable icon.