aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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