app - call to keep the active shell in single window mode switch out of loop.

Small fix from commit 2697b29. This previous commit was working well, but
implied calling this method as many time as there are opened shells,
whereas once is enough.
This commit is contained in:
Jehan 2013-07-08 21:19:01 +09:00
parent 112fa53730
commit 8ef5fca062
1 changed files with 3 additions and 3 deletions

View File

@ -495,13 +495,13 @@ gimp_ui_configurer_configure_for_single_window (GimpUIConfigurer *ui_configurer)
gimp_ui_configurer_move_shells (ui_configurer,
image_window,
uber_image_window);
/* Ensure the context shell remains active after mode switch. */
gimp_image_window_set_active_shell (uber_image_window, active_shell);
/* Destroy the window */
gimp_image_window_destroy (image_window);
}
/* Ensure the context shell remains active after mode switch. */
gimp_image_window_set_active_shell (uber_image_window, active_shell);
g_list_free (windows);
}