From 665a52c564399e3dac8979119500804882ab64d7 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 8 Jun 2014 23:10:09 +0200 Subject: [PATCH] Revert "Show the completion list after the hight was set." (#86) --- src/completion.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/completion.c b/src/completion.c index 548e26d..562fb8c 100644 --- a/src/completion.c +++ b/src/completion.c @@ -130,6 +130,7 @@ gboolean completion_create(GtkTreeModel *model, CompletionSelectFunc selfunc, /* this prevents the first item to be placed out of view if the completion * is shown */ + gtk_widget_show_all(comp.win); while (gtk_events_pending()) { gtk_main_iteration(); } @@ -156,8 +157,6 @@ gboolean completion_create(GtkTreeModel *model, CompletionSelectFunc selfunc, comp.active = -1; completion_next(back); - gtk_widget_show_all(comp.win); - return true; } -- 2.20.1