[gnome-boxes] Work-around for a famous vala bug



commit 34200d17824e2a97975cb60ae7d1872ccac610cf
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Oct 28 19:21:24 2011 +0300

    Work-around for a famous vala bug

 src/machine.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index c629c36..ea69942 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -143,8 +143,8 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IProperties {
 
         try {
             machine_actor.set_screenshot (pixbuf);
-        } catch (GLib.Error error) {
-            warning (error.message);
+        } catch (GLib.Error err) {
+            warning (err.message);
         }
     }
 



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