[epiphany] ephy-window: Uuref the existing hit test result instead of the new one



commit 0d93733e6da0f05b6cd42a928c3e07a7161a7ff2
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Tue Oct 16 17:42:16 2012 +0200

    ephy-window: Uuref the existing hit test result instead of the new one

 src/ephy-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7b1d87b..10e0d8e 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]