[banshee] AudioBook: Fix crash when opening an audiobook (bgo#727623)



commit 6ac3fc28fee7f90464f21b312ae13e92c6f45d33
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Thu Apr 17 18:51:12 2014 +0200

    AudioBook: Fix crash when opening an audiobook (bgo#727623)
    
    The exception was a GLib.MissingIntPtrCtorException.
    
    Signed-off-by: Andrés G. Aragoneses <knocte gmail com>

 .../Banshee.Audiobook/BookView.cs                  |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs 
b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
index f10af74..85247d5 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
@@ -77,6 +77,10 @@ namespace Banshee.Audiobook
             ShowAll ();
         }
 
+        protected BookView (IntPtr ptr) : base (ptr)
+        {
+        }
+
         private DatabaseAlbumInfo Book { get; set; }
 
         public void SetBook (DatabaseAlbumInfo book)


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