diff options
Diffstat (limited to 'embed/mozilla/mozilla-history-item.cpp')
-rw-r--r-- | embed/mozilla/mozilla-history-item.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-history-item.cpp b/embed/mozilla/mozilla-history-item.cpp index b3c364e25..570b2fbe0 100644 --- a/embed/mozilla/mozilla-history-item.cpp +++ b/embed/mozilla/mozilla-history-item.cpp @@ -62,8 +62,7 @@ mozilla_history_item_new (const char *url, const char *title, int index) item->url = g_strdup (url); item->title = g_strdup (title); - - g_object_set_data (G_OBJECT (item), HISTORY_ITEM_INDEX_KEY, GINT_TO_POINTER (index)); + item->nth = index; return item; } |