diff options
-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); } |