diff options
author | Xan Lopez <xan@gnome.org> | 2009-06-21 06:33:11 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-06-21 06:33:11 +0800 |
commit | f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06 (patch) | |
tree | 1b3e6ea33af8def7171622a14732d5a1660ab0ad | |
parent | da2040aa0dbc67ff27f7ae28da0fccd803f051bf (diff) | |
download | gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.tar gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.tar.gz gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.tar.bz2 gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.tar.lz gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.tar.xz gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.tar.zst gsoc2013-epiphany-f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06.zip |
ephy-web-view.c: adapt to another API change in WebKitGTK+.
The bf list now refs newly added items, mostly for the convenience of
bindings.
-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 |