diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-02-18 02:35:45 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-02-18 02:35:45 +0800 |
commit | 90e0214427ec0e371c603aec6c752dca0b877f51 (patch) | |
tree | 6ac637d2b3bdeb5a1eefea53c7c53bcc35db038c | |
parent | 9a49d09baacec3da332b6473590f26ab459c9bd8 (diff) | |
download | gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.tar gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.tar.gz gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.tar.bz2 gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.tar.lz gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.tar.xz gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.tar.zst gsoc2013-epiphany-90e0214427ec0e371c603aec6c752dca0b877f51.zip |
Add our own reference to the webkit history item.
svn path=/trunk/; revision=7961
-rw-r--r-- | embed/webkit/webkit-history-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/webkit/webkit-history-item.c b/embed/webkit/webkit-history-item.c index a556d93f0..5f47407e7 100644 --- a/embed/webkit/webkit-history-item.c +++ b/embed/webkit/webkit-history-item.c @@ -32,7 +32,7 @@ webkit_history_item_new (WebKitWebHistoryItem *history_item) if (!history_item) return NULL; item = g_object_new (WEBKIT_TYPE_HISTORY_ITEM, NULL); - item->data = history_item; + item->data = g_object_ref (history_item); return EPHY_HISTORY_ITEM (item); } |