aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-event.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-15 23:00:42 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-15 23:00:42 +0800
commitd9dbf128b234992f938c6800f31891800c68626c (patch)
tree1c4d71356cc6cc7c82498a031765277e9182bf72 /embed/ephy-embed-event.c
parent3af933af0fb76029084541a4ecb0e85d9938e58e (diff)
downloadgsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.gz
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.bz2
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.lz
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.xz
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.zst
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.zip
Use new INIT macros (from galeon).
2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Use new INIT macros (from galeon). * embed/ephy-embed-event.c: (ephy_embed_event_get_coords): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/mozilla-embed.cpp: mozilla api changes (from galeon). Untested.
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;
}