muine r1246 - in trunk: . libmuine



Author: diegoe
Date: Fri Nov 28 23:56:15 2008
New Revision: 1246
URL: http://svn.gnome.org/viewvc/muine?rev=1246&view=rev

Log:
Remove gnome-vfs usage. Note that player-xine still uses it.

Closes bgo #562365.

Modified:
   trunk/ChangeLog
   trunk/libmuine/player-gst.c

Modified: trunk/libmuine/player-gst.c
==============================================================================
--- trunk/libmuine/player-gst.c	(original)
+++ trunk/libmuine/player-gst.c	Fri Nov 28 23:56:15 2008
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <math.h>
 #include <gst/gst.h>
-#include <libgnomevfs/gnome-vfs-utils.h>
+
 #include <glib/gi18n.h>
 
 #include "macros.h"
@@ -272,7 +272,7 @@
 	if (!file)
 		return FALSE;
 
-	player->priv->current_file = gnome_vfs_get_uri_from_local_path (file);
+	player->priv->current_file = g_filename_to_uri (file, NULL, NULL);
 	if (player->priv->current_file == NULL)
 	  {
 	    *error = g_strdup ("Failed to convert filename to URI.");



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