[yelp/wip/amigadave/webkit2-port: 46/53] yelp-view: Remove duplicated code
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp/wip/amigadave/webkit2-port: 46/53] yelp-view: Remove duplicated code
- Date: Mon, 22 Jun 2015 14:01:09 +0000 (UTC)
commit 139eebcb8354d947f8446d1236da3f60cf1e24d3
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Apr 10 12:44:05 2015 +0200
yelp-view: Remove duplicated code
libyelp/yelp-view.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index 7e59d8b..1ea107d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]