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



commit dbfc51b2e966a85fff87eb56eb2ec94ff64d7bd3
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 efe3eb3..920107d 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]