rygel r163 - in trunk: . src/media-server
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r163 - in trunk: . src/media-server
- Date: Tue, 28 Oct 2008 22:42:15 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 22:42:15 2008
New Revision: 163
URL: http://svn.gnome.org/viewvc/rygel?rev=163&view=rev
Log:
File.query_info () doesn't return a weak anymore.
Modified:
trunk/ChangeLog
trunk/src/media-server/rygel-media-manager.vala
trunk/src/media-server/rygel-metadata-extractor.vala
Modified: trunk/src/media-server/rygel-media-manager.vala
==============================================================================
--- trunk/src/media-server/rygel-media-manager.vala (original)
+++ trunk/src/media-server/rygel-media-manager.vala Tue Oct 28 22:42:15 2008
@@ -282,7 +282,7 @@
}
private static bool is_dir (File file) {
- weak FileInfo file_info;
+ FileInfo file_info;
try {
file_info = file.query_info (FILE_ATTRIBUTE_STANDARD_TYPE,
Modified: trunk/src/media-server/rygel-metadata-extractor.vala
==============================================================================
--- trunk/src/media-server/rygel-metadata-extractor.vala (original)
+++ trunk/src/media-server/rygel-metadata-extractor.vala Tue Oct 28 22:42:15 2008
@@ -171,7 +171,7 @@
private void extract_mime () {
File file = File.new_for_uri (this.uri);
- weak FileInfo file_info;
+ FileInfo file_info;
try {
file_info = file.query_info (FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]