[epiphany] ephy-web-view.c: adapt to another API change in WebKitGTK+.
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Subject: [epiphany] ephy-web-view.c: adapt to another API change in WebKitGTK+.
- Date: Sat, 20 Jun 2009 18:36:52 -0400 (EDT)
commit f570f60a13418e0dfe7bc75f7f3b2f5555d1fa06
Author: Xan Lopez <xan gnome org>
Date: Sun Jun 21 01:33:11 2009 +0300
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.
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 4a01290..5a6baaa 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]