From 9d8fd9a553a114ef9b5d8ba559bde0899539a44b Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 16 Mar 2012 01:16:30 +0100 Subject: Fix bookmarklet's titles when they are created This was pretty much broken since the Gecko days. On top of that, catch the case where the bookmarklet title is in the child node of the anchor element, which we never got right before. https://bugzilla.gnome.org/show_bug.cgi?id=672194 --- embed/ephy-embed-event.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'embed/ephy-embed-event.c') diff --git a/embed/ephy-embed-event.c b/embed/ephy-embed-event.c index bd3ca818d..f21b7a2f2 100644 --- a/embed/ephy-embed-event.c +++ b/embed/ephy-embed-event.c @@ -181,3 +181,10 @@ ephy_embed_event_has_property (EphyEmbedEvent *event, } +WebKitHitTestResult * +ephy_embed_event_get_hit_test_result (EphyEmbedEvent *event) +{ + g_return_val_if_fail (EPHY_IS_EMBED_EVENT (event), NULL); + + return event->priv->hit_test_result; +} -- cgit v1.2.3