rhythmbox r5929 - in trunk: . plugins/generic-player



Author: jmatthew
Date: Wed Sep 17 23:46:43 2008
New Revision: 5929
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5929&view=rev

Log:
2008-09-18  Jonathan Matthew  <jonathan d14n org>

	* plugins/generic-player/rb-psp-source.c: (rb_psp_is_mount_player):
	maybe fix a compile error when HAL is disabled, but who does that?


Modified:
   trunk/ChangeLog
   trunk/plugins/generic-player/rb-psp-source.c

Modified: trunk/plugins/generic-player/rb-psp-source.c
==============================================================================
--- trunk/plugins/generic-player/rb-psp-source.c	(original)
+++ trunk/plugins/generic-player/rb-psp-source.c	Wed Sep 17 23:46:43 2008
@@ -300,7 +300,6 @@
 	GVolume *volume;
 #endif
 	gboolean result = FALSE;
-	gchar *str;
 
 #ifndef HAVE_HAL
 	music_dir = find_music_dir (mount);
@@ -309,6 +308,8 @@
 #else
 	volume = g_mount_get_volume (mount);
 	if (volume != NULL) {
+		char *str;
+
 		str = g_volume_get_identifier (volume, G_VOLUME_IDENTIFIER_KIND_HAL_UDI);
 		if (str != NULL) {
 			result = hal_udi_is_psp (str);



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