diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index d78d6013c..f2c0479ae 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1234,10 +1234,10 @@ static void popup_menu_at_coords (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer user_data) { - EphyEmbedEvent *event = user_data; + EphyEmbedEvent *event = (EphyEmbedEvent *) user_data; + + ephy_embed_event_get_coords (event, x, y); - *x = event->x; - *y = event->y; *push_in = TRUE; } |