gnome-power-manager r2629 - in branches/gnome-2-20: . src



Author: simonz
Date: Mon Jan  7 08:40:00 2008
New Revision: 2629
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2629&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:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/src/gpm-sound.c

Modified: branches/gnome-2-20/ChangeLog
==============================================================================
--- branches/gnome-2-20/ChangeLog	(original)
+++ branches/gnome-2-20/ChangeLog	Mon Jan  7 08:40:00 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: branches/gnome-2-20/src/gpm-sound.c
==============================================================================
--- branches/gnome-2-20/src/gpm-sound.c	(original)
+++ branches/gnome-2-20/src/gpm-sound.c	Mon Jan  7 08:40:00 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]