aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-10-16 23:42:16 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-10-16 23:42:16 +0800
commit0d93733e6da0f05b6cd42a928c3e07a7161a7ff2 (patch)
tree5f680bc66a00266e2693d69d6668688317a35626
parentab70a535e07932ff8d2cd168a22bfbf58458a245 (diff)
downloadgsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.tar
gsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.tar.gz
gsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.tar.bz2
gsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.tar.lz
gsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.tar.xz
gsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.tar.zst
gsoc2013-epiphany-0d93733e6da0f05b6cd42a928c3e07a7161a7ff2.zip
ephy-window: Uuref the existing hit test result instead of the new one
-rw-r--r--src/ephy-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7b1d87b5b..10e0d8e1c 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2268,7 +2268,7 @@ ephy_window_mouse_target_changed_cb (WebKitWebView *web_view,
EphyWindowPrivate *priv = window->priv;
if (priv->hit_test_result)
- g_object_unref (hit_test_result);
+ g_object_unref (priv->hit_test_result);
priv->hit_test_result = g_object_ref (hit_test_result);
}
#endif