::icon-press and ::icon-release are not action signals. Pointed out by

* gtk/gtkentry.c: ::icon-press and ::icon-release are not
        action signals. Pointed out by Murray Cumming


svn path=/trunk/; revision=22501
This commit is contained in:
Matthias Clasen 2009-03-10 17:45:25 +00:00
parent 2f915bec20
commit 4b497ad5e8
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
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
2009-03-04 Michael Hasselmann <michaelh@openismus.com> 2009-03-04 Michael Hasselmann <michaelh@openismus.com>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed): * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed):

View File

@ -1455,7 +1455,7 @@ gtk_entry_class_init (GtkEntryClass *class)
* @icon_pos: The position of the clicked icon * @icon_pos: The position of the clicked icon
* @event: the button press event * @event: the button press event
* *
* The ::icon-press signal is emitted when an activatable icon * The ::icon-press signal is emitted when an activatable icon
* is clicked. * is clicked.
* *
* Since: 2.16 * Since: 2.16
@ -1463,7 +1463,7 @@ gtk_entry_class_init (GtkEntryClass *class)
signals[ICON_PRESS] = signals[ICON_PRESS] =
g_signal_new (I_("icon-press"), g_signal_new (I_("icon-press"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL,
_gtk_marshal_VOID__ENUM_BOXED, _gtk_marshal_VOID__ENUM_BOXED,
@ -1485,7 +1485,7 @@ gtk_entry_class_init (GtkEntryClass *class)
signals[ICON_RELEASE] = signals[ICON_RELEASE] =
g_signal_new (I_("icon-release"), g_signal_new (I_("icon-release"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL,
_gtk_marshal_VOID__ENUM_BOXED, _gtk_marshal_VOID__ENUM_BOXED,