diff options
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r-- | src/ephy-location-action.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 |