[Pkg-cli-apps-commits] [SCM] banshee branch, ubuntu/precise, updated. debian/2.4.0-1ubuntu2-2-g6c98915

Chow Loong Jin hyperair at debian.org
Sat Mar 24 07:53:38 UTC 2012


The following commit has been merged in the ubuntu/precise branch:
commit 9b356d6b3708f8a254926b4b52324a8fe37492d0
Author: Chow Loong Jin <hyperair at debian.org>
Date:   Sat Mar 24 05:34:22 2012 +0800

    Add workaround for set_Height exception
    
    This patch was previously added to the Oneiric release but left out of Precise
    to facilitate further testing of the bug.
    
    LP: #873787

diff --git a/debian/patches/0015-Workaround-for-set_Height-exceptions.patch b/debian/patches/0015-Workaround-for-set_Height-exceptions.patch
new file mode 100644
index 0000000..af1c703
--- /dev/null
+++ b/debian/patches/0015-Workaround-for-set_Height-exceptions.patch
@@ -0,0 +1,36 @@
+From: =?UTF-8?q?"Andr=C3=A9s=20G.=20Aragoneses"?= <knocte at gmail.com>
+Date: Sat, 24 Mar 2012 05:33:26 +0800
+Subject: Workaround for set_Height exceptions
+
+Reviewed-By: Chow Loong Jin <hyperair at ubuntu.com>
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=624976
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/873787
+---
+ src/Hyena/Hyena.Gui/Hyena.Gui.Canvas/Rect.cs |    6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/Hyena/Hyena.Gui/Hyena.Gui.Canvas/Rect.cs b/src/Hyena/Hyena.Gui/Hyena.Gui.Canvas/Rect.cs
+index 3dc568b..a03032f 100644
+--- a/src/Hyena/Hyena.Gui/Hyena.Gui.Canvas/Rect.cs
++++ b/src/Hyena/Hyena.Gui/Hyena.Gui.Canvas/Rect.cs
+@@ -81,7 +81,8 @@ namespace Hyena.Gui.Canvas
+             get { return w; }
+             set {
+                 if (value < 0) {
+-                    throw new ArgumentException ();
++                    Log.Warning (String.Format ("Tried to set an invalid width of {0} {1}", value, System.Environment.StackTrace));
++                    value = 0;
+                 }
+ 
+                 w = value;
+@@ -92,7 +93,8 @@ namespace Hyena.Gui.Canvas
+             get { return h; }
+             set {
+                 if (value < 0) {
+-                    throw new ArgumentException ();
++                    Log.Warning (String.Format ("Tried to set an invalid height of {0}: {1}", value, System.Environment.StackTrace));
++                    value = 0;
+                 }
+ 
+                 h = value;
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index be8dbb4..02e5eaf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@
 0012-Disable-Notification-area-extension-by-default.patch
 0013-Enable-sound-menu-extension-by-default.patch
 0014-Change-Amazon-redirect-url.patch
+0015-Workaround-for-set_Height-exceptions.patch

-- 
banshee



More information about the Pkg-cli-apps-commits mailing list