[gnome-games] Also ifdef the Sound menu item in the non-maemo UI



commit 367d18d138168bfdbd060f0e799c66bfd01a8b59
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 3 00:19:20 2009 +0200

    Also ifdef the Sound menu item in the non-maemo UI
---
 aisleriot/window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/aisleriot/window.c b/aisleriot/window.c
index b9620a7..0c699cf 100644
--- a/aisleriot/window.c
+++ b/aisleriot/window.c
@@ -2394,7 +2394,9 @@ aisleriot_window_init (AisleriotWindow *window)
           "<menuitem action='Hint'/>"
           "<separator/>"
           "<menuitem action='ClickToMove'/>"
+#ifdef ENABLE_SOUND
           "<menuitem action='Sound'/>"
+#endif
 #ifdef HAVE_CLUTTER
           "<menuitem action='Animations'/>"
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]