diff options
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 4a01290da..5a6baaa0c 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1101,14 +1101,14 @@ ephy_web_view_copy_back_history (EphyWebView *source, items = g_list_reverse (items); for (; items; items = items->next) { item = (WebKitWebHistoryItem*)items->data; - webkit_web_back_forward_list_add_item (dest_bflist, g_object_ref (item)); + webkit_web_back_forward_list_add_item (dest_bflist, item); } g_list_free (items); /* The ephy/gecko behavior is to add the current item of the source embed at the end of the back history, so keep doing that */ item = webkit_web_back_forward_list_get_current_item (source_bflist); - webkit_web_back_forward_list_add_item (dest_bflist, g_object_ref (item)); + webkit_web_back_forward_list_add_item (dest_bflist, item); } void |