[gimp] app - call to keep the active shell in single window mode switch out of loop.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app - call to keep the active shell in single window mode switch out of loop.
- Date: Mon, 8 Jul 2013 12:25:17 +0000 (UTC)
commit 8ef5fca0622447b7f36afd17e93248c754216572
Author: Jehan <jehan girinstud io>
Date: Mon Jul 8 21:19:01 2013 +0900
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.
app/gui/gimpuiconfigurer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/gui/gimpuiconfigurer.c b/app/gui/gimpuiconfigurer.c
index 60c5199..fe8afee 100644
--- a/app/gui/gimpuiconfigurer.c
+++ b/app/gui/gimpuiconfigurer.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]