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.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/embed/ephy-embed-event.c b/embed/ephy-embed-event.c
index 3df03f3dc..396410453 100644
--- a/embed/ephy-embed-event.c
+++ b/embed/ephy-embed-event.c
@@ -87,7 +87,6 @@ ephy_embed_event_init (EphyEmbedEvent *event)
event->priv->props = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, free_g_value);
- event->mouse_button = -1;
}
static void
@@ -129,10 +128,10 @@ ephy_embed_event_get_modifier (EphyEmbedEvent *event)
}
gresult
-ephy_embed_event_get_mouse_button (EphyEmbedEvent *event,
- guint *mouse_button)
+ephy_embed_event_get_event_type (EphyEmbedEvent *event,
+ EphyEmbedEventType *type)
{
- *mouse_button = event->mouse_button;
+ *type = event->type;
return G_OK;
}