gnome-settings-daemon r183 - in trunk: . plugins/sound



Author: wbolster
Date: Thu Feb 28 23:42:56 2008
New Revision: 183
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=183&view=rev

Log:
2008-02-29  Wouter Bolsterlee  <wbolster svn gnome org>

	* plugins/sound/gsd-sound-manager.c (apply_settings):

	Add braces to fix amgiguous else. Avoids compiler
	warnings.



Modified:
   trunk/ChangeLog
   trunk/plugins/sound/gsd-sound-manager.c

Modified: trunk/plugins/sound/gsd-sound-manager.c
==============================================================================
--- trunk/plugins/sound/gsd-sound-manager.c	(original)
+++ trunk/plugins/sound/gsd-sound-manager.c	Thu Feb 28 23:42:56 2008
@@ -232,9 +232,10 @@
         closure.enable_system_sounds = event_sounds;
 
         if (enable_sound) {
-                if (gnome_sound_connection_get () < 0)
+                if (gnome_sound_connection_get () < 0) {
                         if (!start_gnome_sound (manager))
-                        	return;
+                            return;
+                }
 #ifdef HAVE_ESD
                 else if (set_esd_standby) {
                         esd_resume (gnome_sound_connection_get ());



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