[rygel] media-export: Fix coding-style



commit 7e0ffb60618fd52bc1c6a6de239ce8401c489cd3
Author: Jens Georg <mail jensge org>
Date:   Sun Jul 25 14:32:07 2010 +0300

    media-export: Fix coding-style

 .../rygel-media-export-db-container.vala           |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-db-container.vala b/src/plugins/media-export/rygel-media-export-db-container.vala
index 070826e..0088fad 100644
--- a/src/plugins/media-export/rygel-media-export-db-container.vala
+++ b/src/plugins/media-export/rygel-media-export-db-container.vala
@@ -28,9 +28,9 @@ public class Rygel.MediaExport.DBContainer : MediaContainer {
         int count;
         try {
             count = media_db.get_child_count (id);
-        } catch (DatabaseError e) {
+        } catch (DatabaseError error) {
             debug("Could not get child count from database: %s",
-                  e.message);
+                  error.message);
             count = 0;
         }
         base (id, null, title, count);
@@ -42,10 +42,10 @@ public class Rygel.MediaExport.DBContainer : MediaContainer {
     private void on_db_container_updated (MediaContainer container,
                                           MediaContainer container_updated) {
         try {
-            this.child_count = media_db.get_child_count (this.id);
-        } catch (DatabaseError e) {
-            debug("Could not get child count from database: %s",
-                  e.message);
+            this.child_count = this.media_db.get_child_count (this.id);
+        } catch (DatabaseError error) {
+            debug ("Could not get child count from database: %s",
+                   error.message);
             this.child_count = 0;
         }
     }



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