From 5505f084a303a81b00117f856c664a49fa9c799e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 19 Oct 2003 13:54:59 +0000 Subject: Index are not identifiers 2003-10-19 Marco Pesenti Gritti * src/ephy-location-action.c: (remove_completion_actions): Index are not identifiers --- src/ephy-location-action.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/ephy-location-action.c') 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 -- cgit v1.2.3