[rygel] media-export: Compare two GFiles properly in another place as well.



commit 99dc8cf12ad7d90a3d476e57c5ff7ff144da4f66
Author: Krzesimir Nowak <krnowak openismus com>
Date:   Fri Jan 25 14:05:39 2013 +0100

    media-export: Compare two GFiles properly in another place as well.

 .../rygel-media-export-root-container.vala         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index ad0c068..1ee32ad 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -223,7 +223,7 @@ public class Rygel.MediaExport.RootContainer : TrackableDbContainer {
 
                 // protect against special directories expanding to $HOME
                 file = File.new_for_commandline_arg (actual_uri);
-                if (file == home_dir) {
+                if (file.equal (home_dir)) {
                     continue;
                 }
             }



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