[Goodies-commits] r1767 - in thunar-media-tags-plugin/trunk: . po thunar-plugin
Benedikt Meurer
benny at xfce.org
Sat Jul 15 19:44:10 CEST 2006
Author: benny
Date: 2006-07-15 17:44:08 +0000 (Sat, 15 Jul 2006)
New Revision: 1767
Modified:
thunar-media-tags-plugin/trunk/
thunar-media-tags-plugin/trunk/ChangeLog
thunar-media-tags-plugin/trunk/po/
thunar-media-tags-plugin/trunk/thunar-plugin/
thunar-media-tags-plugin/trunk/thunar-plugin/media-tags-provider.c
Log:
2006-07-15 Benedikt Meurer <benny at xfce.org>
* thunar-plugin/media-tags-provider.c
(media_tags_get_audio_file_supported): Handle URIs other than
file:-URIs properly.
Property changes on: thunar-media-tags-plugin/trunk
___________________________________________________________________
Name: svn:ignore
- configure.in
+ configure.in
Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
depcomp
install-sh
intltool-extract
intltool-extract.in
intltool-merge
intltool-merge.in
intltool-update
intltool-update.in
libtool
ltmain.sh
missing
mkinstalldirs
stamp-h1
Modified: thunar-media-tags-plugin/trunk/ChangeLog
===================================================================
--- thunar-media-tags-plugin/trunk/ChangeLog 2006-07-13 20:24:59 UTC (rev 1766)
+++ thunar-media-tags-plugin/trunk/ChangeLog 2006-07-15 17:44:08 UTC (rev 1767)
@@ -1,3 +1,9 @@
+2006-07-15 Benedikt Meurer <benny at xfce.org>
+
+ * thunar-plugin/media-tags-provider.c
+ (media_tags_get_audio_file_supported): Handle URIs other than
+ file:-URIs properly.
+
2006-06-17 Jannis Pohlmann <jannis at xfce.org>
* thunar-plugin/*.{c,h}: Fix license headers.
Property changes on: thunar-media-tags-plugin/trunk/po
___________________________________________________________________
Name: svn:ignore
- POTFILES
stamp-it
+ POTFILES
stamp-it
*.gmo
.*.swp
Makefile
Makefile.in
Makefile.in.in
Property changes on: thunar-media-tags-plugin/trunk/thunar-plugin
___________________________________________________________________
Name: svn:ignore
- .deps
.libs
*.swp
*.o
*.la
*.so
+ .deps
.libs
*.swp
*.o
*.la
*.so
Makefile
Makefile.in
.*.swp
Modified: thunar-media-tags-plugin/trunk/thunar-plugin/media-tags-provider.c
===================================================================
--- thunar-media-tags-plugin/trunk/thunar-plugin/media-tags-provider.c 2006-07-13 20:24:59 UTC (rev 1766)
+++ thunar-media-tags-plugin/trunk/thunar-plugin/media-tags-provider.c 2006-07-15 17:44:08 UTC (rev 1767)
@@ -153,7 +153,11 @@
uri = thunarx_file_info_get_uri (info);
filename = g_filename_from_uri (uri, NULL, NULL);
+ g_free (uri);
+ if (G_UNLIKELY (filename == NULL))
+ return FALSE;
+
/* Try loading the tag information */
taglib_file = taglib_file_new (filename);
@@ -164,10 +168,8 @@
supported = TRUE;
}
-
g_free (filename);
- g_free (uri);
return supported;
}
More information about the Goodies-commits
mailing list