app: Restore docks in an idle handler
In single-window mode, gimp_session_managed_set_aux_info() will set the size of the dock areas at the sides. If we don't wait for those areas to get their size-allocation, we can't properly restore the docks inside them, so do that in an idle callback. Also add a required call to gimp_test_run_mainloop_until_idle() because of this in the 'automatic_tab_style' test.
This commit is contained in:
@ -187,6 +187,8 @@ automatic_tab_style (GimpTestFixture *fixture,
|
||||
|
||||
dockable = GIMP_DOCKABLE (channel_dockable);
|
||||
|
||||
gimp_test_run_mainloop_until_idle ();
|
||||
|
||||
/* The channel dockable is the only dockable, it has enough space
|
||||
* for the icon-blurb
|
||||
*/
|
||||
|
Reference in New Issue
Block a user