From: Daniel Carl Date: Sun, 8 Jun 2014 21:10:09 +0000 (+0200) Subject: Revert "Show the completion list after the hight was set." (#86) X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=665a52c564399e3dac8979119500804882ab64d7;p=vimb.git Revert "Show the completion list after the hight was set." (#86) --- 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; }