Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17338 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2008-07-15 23:44:41 +00:00
parent 9b65e68fa2
commit d2bc2c6061
@@ -980,6 +980,10 @@ showbox_cb(GWEN_GUI *gwen_gui, guint32 flags, const gchar *title,
dialog);
gui->showbox_last = dialog;
/* Give it a change to be showed */
if (!keep_alive(gui))
showbox_id = 0;
LEAVE("id=%" G_GUINT32_FORMAT, showbox_id);
return showbox_id;
}