diff options
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkentryaccessible.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/a11y/gtkentryaccessible.c b/gtk/a11y/gtkentryaccessible.c index 88f39171f0..282f305e63 100644 --- a/gtk/a11y/gtkentryaccessible.c +++ b/gtk/a11y/gtkentryaccessible.c @@ -242,10 +242,10 @@ gtk_entry_icon_accessible_do_action (AtkAction *action, gtk_entry_get_icon_area (gtk_entry, icon->pos, &icon_area); memset (&event, 0, sizeof (event)); - event.button.type = GDK_BUTTON_PRESS; - event.button.window = gtk_widget_get_window (widget); + event.any.type = GDK_BUTTON_PRESS; + event.any.window = gtk_widget_get_window (widget); event.button.button = 1; - event.button.send_event = TRUE; + event.any.send_event = TRUE; event.button.time = GDK_CURRENT_TIME; event.button.x = icon_area.x; event.button.y = icon_area.y; |