summaryrefslogtreecommitdiff
path: root/libyelp
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2015-04-10 12:44:05 +0200
committerDavid King <amigadave@amigadave.com>2015-06-22 14:56:04 +0100
commit139eebcb8354d947f8446d1236da3f60cf1e24d3 (patch)
tree897e8f3104c15c6d46cfd8d96152c238a2cd352c /libyelp
parentf72cb7976e87086f9063cb779def2ce46fe2996b (diff)
downloadyelp-139eebcb8354d947f8446d1236da3f60cf1e24d3.tar.gz
yelp-view: Remove duplicated code
Diffstat (limited to 'libyelp')
-rw-r--r--libyelp/yelp-view.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index 7e59d8b5..1ea107d6 100644
--- a/libyelp/yelp-view.c
+++ b/libyelp/yelp-view.c
@@ -2226,19 +2226,6 @@ uri_resolved (YelpUri *uri,
g_free (struri);
}
- if (error == NULL) {
- document = yelp_document_get_for_uri (uri);
- if (priv->document)
- g_object_unref (priv->document);
- priv->document = document;
- }
- else {
- if (priv->document != NULL) {
- g_object_unref (priv->document);
- priv->document = NULL;
- }
- }
-
if (!priv->back_load) {
back = g_new0 (YelpBackEntry, 1);
back->uri = g_object_ref (uri);