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.
This commit is contained in:
Sebastian Dröge 2020-09-03 09:36:00 +03:00
parent e85a298528
commit ec1a48e830

View File

@ -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.