[rygel/gnome-2-32] media-export: Print enum name for debug



commit 25087f0ca148ce84352ff419f398c7dc59b56cc2
Author: Jens Georg <mail jensge org>
Date:   Fri Oct 22 23:32:20 2010 +0200

    media-export: Print enum name for debug

 .../media-export/rygel-media-export-harvester.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvester.vala b/src/plugins/media-export/rygel-media-export-harvester.vala
index c879bce..a1f7013 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -144,9 +144,9 @@ internal class Rygel.MediaExport.Harvester : GLib.Object {
                     if (type == FileType.DIRECTORY ||
                         this.file_filter == null ||
                         this.file_filter.match (file.get_uri ())) {
-                        debug ("Trying to harvest %s because of %d",
+                        debug ("Trying to harvest %s because of %s",
                                file.get_uri (),
-                               event);
+                               event.to_string ());
                         var id = MediaCache.get_id (file.get_parent ());
                         try {
                                var parent_container = cache.get_object (id)



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