From ebe2c82b7c78337d8e274467c77e31df58336079 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Wed, 21 Mar 2012 10:51:02 +0200 Subject: ephy-hosts-store: -1 is not a valid insertion position --- lib/widgets/ephy-hosts-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/widgets/ephy-hosts-store.c') 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, -- cgit v1.2.3