aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-19 21:54:59 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-19 21:54:59 +0800
commit5505f084a303a81b00117f856c664a49fa9c799e (patch)
treedff7b9af6767128aa5767f08c4f3aaa79f793f34
parent89f824edb461ffa185ca78962f39f582919544f4 (diff)
downloadgsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.tar
gsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.tar.gz
gsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.tar.bz2
gsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.tar.lz
gsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.tar.xz
gsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.tar.zst
gsoc2013-epiphany-5505f084a303a81b00117f856c664a49fa9c799e.zip
Index are not identifiers
2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-location-action.c: (remove_completion_actions): Index are not identifiers
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-location-action.c5
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f9f1676da..a962777ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-10-19 Marco Pesenti Gritti <marco@gnome.org>
+ * src/ephy-location-action.c: (remove_completion_actions):
+
+ Index are not identifiers
+
+2003-10-19 Marco Pesenti Gritti <marco@gnome.org>
+
* embed/ephy-history.c: (update_host_on_child_remove),
(update_hosts):
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index cc5fa7fef..1cacee0f6 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -177,10 +177,7 @@ remove_completion_actions (GtkAction *action, GtkWidget *proxy)
for (l = la->priv->actions; l != NULL; l = l->next)
{
- int index;
-
- index = g_list_position (la->priv->actions, l);
- gtk_entry_completion_delete_action (completion, index);
+ gtk_entry_completion_delete_action (completion, 0);
}
g_signal_handlers_disconnect_by_func