GNOME Bugzilla – Bug 574622
GtkEntry: Should we wrap icon-press and icon-release signals?
Last modified: 2009-03-12 15:16:37 UTC
The new GtkEntry signals, icon-press and icon-release, use G_SIGNAL_ACTION, bug G_SIGNAL_ACTION signals are usually just "key-binding" signals that should not be wrapped by language bindings or used by applications. If these should be used then that should be documented.
Yeah, these should not be action signals. They are really analogous to GtkWidget::button-press/release-event. I've sent a freeze break request to fix this up before 2.16
2009-03-10 Matthias Clasen <mclasen@redhat.com> Bug 574622 – GtkEntry: Should we wrap icon-press and icon-release signals? * gtk/gtkentry.c: ::icon-press and ::icon-release are not action signals. Pointed out by Murray Cumming
Thanks. The documentation should maybe also mention the GdkEventButton type for the 2nd parameter, if that is what is meant. The signal registration is not capable of stating this with GTypes.