aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-embed-event.c')
-rw-r--r--embed/ephy-embed-event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/embed/ephy-embed-event.c b/embed/ephy-embed-event.c
index 4b3c61e4c..5ee7d2781 100644
--- a/embed/ephy-embed-event.c
+++ b/embed/ephy-embed-event.c
@@ -136,11 +136,11 @@ ephy_embed_event_get_mouse_button (EphyEmbedEvent *event,
}
gresult
-ephy_embed_event_get_mouse_coords (EphyEmbedEvent *event,
- guint *x, guint *y)
+ephy_embed_event_get_coords (EphyEmbedEvent *event,
+ guint *x, guint *y)
{
- *x = event->mouse_x;
- *y = event->mouse_y;
+ *x = event->x;
+ *y = event->y;
return G_OK;
}