gnome-power-manager r2628 - in trunk: . src



Author: simonz
Date: Mon Jan  7 08:38:33 2008
New Revision: 2628
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2628&view=rev

Log:
2008-01-07  simon.zheng  <simon zheng sun com>

        * src/gpm-sound.c: (gpm_sound_play):
        Modify some typo to get correct wav file, fix #507789.



Modified:
   trunk/ChangeLog
   trunk/src/gpm-sound.c

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Mon Jan  7 08:38:33 2008
@@ -1,3 +1,8 @@
+2008-01-07  simon.zheng  <simon zheng sun com>
+
+	* src/gpm-sound.c: (gpm_sound_play):
+	Modify some typo to get correct wav file, fix #507789.
+
 2008-01-02  Richard Hughes  <richard hughsie com>
 
 	* src/gpm-cell.c: (gpm_cell_refresh_hal_all):

Modified: trunk/src/gpm-sound.c
==============================================================================
--- trunk/src/gpm-sound.c	(original)
+++ trunk/src/gpm-sound.c	Mon Jan  7 08:38:33 2008
@@ -74,7 +74,7 @@
 	fname = g_build_filename (GPM_DATA, filename, NULL);
 	if (fname == NULL)
 		return FALSE;
-	uri = g_filename_to_uri (filename, NULL, NULL);
+	uri = g_filename_to_uri (fname, NULL, NULL);
 	g_free (fname);
 	if (uri == NULL)
 		return FALSE;



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