aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-21 16:51:02 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-03-21 16:51:02 +0800
commitebe2c82b7c78337d8e274467c77e31df58336079 (patch)
treeba20825dafd646fabdc333386b792a6d59d12f19 /lib
parent733bf55779c282c38fc654c53c6875a50886712a (diff)
downloadgsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.tar
gsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.tar.gz
gsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.tar.bz2
gsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.tar.lz
gsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.tar.xz
gsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.tar.zst
gsoc2013-epiphany-ebe2c82b7c78337d8e274467c77e31df58336079.zip
ephy-hosts-store: -1 is not a valid insertion position
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-hosts-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/ephy-hosts-store.c b/lib/widgets/ephy-hosts-store.c
index 38e9b9c55..8d7c42cdb 100644
--- a/lib/widgets/ephy-hosts-store.c
+++ b/lib/widgets/ephy-hosts-store.c
@@ -107,7 +107,7 @@ ephy_hosts_store_add_hosts (EphyHostsStore *store,
favicon = webkit_favicon_database_try_get_favicon_pixbuf (database, host->url,
FAVICON_SIZE, FAVICON_SIZE);
gtk_list_store_insert_with_values (GTK_LIST_STORE (store),
- &treeiter, -1,
+ &treeiter, G_MAXINT,
EPHY_HOSTS_STORE_COLUMN_ID, host->id,
EPHY_HOSTS_STORE_COLUMN_TITLE, host->title,
EPHY_HOSTS_STORE_COLUMN_ADDRESS, host->url,