[epiphany] ephy-hosts-store: -1 is not a valid insertion position
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-hosts-store: -1 is not a valid insertion position
- Date: Wed, 21 Mar 2012 08:51:22 +0000 (UTC)
commit ebe2c82b7c78337d8e274467c77e31df58336079
Author: Claudio Saavedra <csaavedra igalia com>
Date: Wed Mar 21 10:51:02 2012 +0200
ephy-hosts-store: -1 is not a valid insertion position
lib/widgets/ephy-hosts-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/widgets/ephy-hosts-store.c b/lib/widgets/ephy-hosts-store.c
index 38e9b9c..8d7c42c 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]