banshee r4543 - in trunk/banshee: . src/Dap/Banshee.Dap/Banshee.Dap.Gui src/Libraries/Hyena.Gui/Hyena.Widgets



Author: gburt
Date: Mon Sep 15 19:06:12 2008
New Revision: 4543
URL: http://svn.gnome.org/viewvc/banshee?rev=4543&view=rev

Log:
2008-09-15  Gabriel Burt  <gabriel burt gmail com>

	* src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapContent.cs:
	* src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDisplay.cs:
	* src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Add protected
	IntPtr ctor to avoid GLib.MissingIntPtrCtorException I don't honestly
	understand (BGO #552169).



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapContent.cs
   trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDisplay.cs
   trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs

Modified: trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapContent.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapContent.cs	(original)
+++ trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapContent.cs	Mon Sep 15 19:06:12 2008
@@ -46,6 +46,11 @@
         private VBox vbox;
         //private WrapLabel dap_stats;
 
+        // Ugh, this is to avoid the GLib.MissingIntPtrCtorException seen by some; BGO #552169
+        protected DapContent (IntPtr ptr) : base (ptr)
+        {
+        }
+
         public DapContent (DapSource source) : base (source)
         {
             dap = source;

Modified: trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDisplay.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDisplay.cs	(original)
+++ trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDisplay.cs	Mon Sep 15 19:06:12 2008
@@ -56,6 +56,11 @@
                 return large_icon;
             }
         }
+
+        // Ugh, this is to avoid the GLib.MissingIntPtrCtorException seen by some; BGO #552169
+        protected DapPropertiesDisplay (IntPtr ptr) : base (ptr)
+        {
+        }
         
         public DapPropertiesDisplay (DapSource source)
         {

Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs	Mon Sep 15 19:06:12 2008
@@ -51,6 +51,11 @@
         private Cairo.Color fill_color;
         private bool draw_border = true;
         private Pattern fill_pattern;
+
+        // Ugh, this is to avoid the GLib.MissingIntPtrCtorException seen by some; BGO #552169
+        protected RoundedFrame (IntPtr ptr) : base (ptr)
+        {
+        }
         
         public RoundedFrame ()
         {



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