brasero r701 - trunk/src
- From: lmedinas svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r701 - trunk/src
- Date: Sat, 5 Apr 2008 18:55:10 +0100 (BST)
Author: lmedinas
Date: Sat Apr 5 18:55:10 2008
New Revision: 701
URL: http://svn.gnome.org/viewvc/brasero?rev=701&view=rev
Log:
fix for the last commit.
Modified:
trunk/src/brasero-search-beagle.c
Modified: trunk/src/brasero-search-beagle.c
==============================================================================
--- trunk/src/brasero-search-beagle.c (original)
+++ trunk/src/brasero-search-beagle.c Sat Apr 5 18:55:10 2008
@@ -707,17 +707,18 @@
num = 0;
for (iter = list; iter && num < max; iter = next, num ++) {
- gchar *unescaped_uri;
+ gchar *unescaped_uri, *uri;
GFile *file;
hit = iter->data;
next = iter->next;
- file = g_strdup (beagle_hit_get_uri (hit));
+ uri = g_strdup (beagle_hit_get_uri (hit));
+ file = g_file_new_for_uri (uri);
/* beagle return badly formed uri not encoded in UTF-8
* locale charset so we check them just in case */
- unescaped_uri = g_file_get_parse_name (file);
+ unescaped_uri = g_uri_unescape_string (file, NULL);
if (!g_utf8_validate (unescaped_uri, -1, NULL)) {
g_free (unescaped_uri);
g_free (uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]