about summary refs log tree commit diff stats
path: root/about.c
diff options
context:
space:
mode:
Diffstat (limited to 'about.c')
-rw-r--r--about.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/about.c b/about.c
index cef627b..bc668a1 100644
--- a/about.c
+++ b/about.c
@@ -188,13 +188,8 @@ load_webkit_string(struct tab *t, const char *str, gchar *title)
 		g_signal_handler_disconnect(t->wv, t->progress_handle);
 
 	/* we set this to indicate we want to manually do navaction */
-	if (t->bfl) {
-		if (t->item)
-			g_object_unref(t->item);
+	if (t->bfl)
 		t->item = webkit_web_back_forward_list_get_current_item(t->bfl);
-		if (t->item)
-			g_object_ref(t->item);
-	}
 
 	t->xtp_meaning = XT_XTP_TAB_MEANING_NORMAL;
 	if (title) {