[gimp] app: Conditionally assign show_menu
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Conditionally assign show_menu
- Date: Thu, 6 Oct 2011 14:27:36 +0000 (UTC)
commit c9e7186a3568e81cfbbf4da973a8f61ae4f675f8
Author: Mukund Sivaraman <muks banu com>
Date: Thu Oct 6 19:45:32 2011 +0530
app: Conditionally assign show_menu
app/actions/window-actions.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/actions/window-actions.c b/app/actions/window-actions.c
index 775726b..bce205d 100644
--- a/app/actions/window-actions.c
+++ b/app/actions/window-actions.c
@@ -98,11 +98,11 @@ window_actions_update (GimpActionGroup *group,
display = gtk_widget_get_display (window);
+#ifndef GIMP_UNSTABLE
show_menu = (gdk_display_get_n_screens (display) > 1);
-
-#ifdef GIMP_UNSTABLE
+#else
show_menu = TRUE;
-#endif
+#endif /* !GIMP_UNSTABLE */
if (! show_menu)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]