banshee r3645 - in trunk/banshee: . src/Backends/Banshee.Unix/Banshee.IO.Unix src/Core/Banshee.Core/Banshee.Base src/Core/Banshee.Widgets/Banshee.Widgets



Author: sdroege
Date: Wed Apr  2 17:48:16 2008
New Revision: 3645
URL: http://svn.gnome.org/viewvc/banshee?rev=3645&view=rev

Log:
* src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs:
* src/Core/Banshee.Core/Banshee.Base/SafeUri.cs:
* src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs:
DllImport libglib-2.0.so.0 and libgdk-x11-2.0.so.0 instead of
libglib-2.0.so and libgdk-x11-2.0.so as the latter are only
in the development packages for many distributions.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs
   trunk/banshee/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
   trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs

Modified: trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs
==============================================================================
--- trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs	(original)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs	Wed Apr  2 17:48:16 2008
@@ -38,7 +38,7 @@
 {
     public class Directory : IDirectory
     {
-        [System.Runtime.InteropServices.DllImport ("libglib-2.0.so")]
+        [System.Runtime.InteropServices.DllImport ("libglib-2.0.so.0")]
         private static extern int g_mkdir_with_parents (IntPtr path, int mode);
     
         public void Create (string directory)

Modified: trunk/banshee/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs	Wed Apr  2 17:48:16 2008
@@ -176,10 +176,10 @@
             get { return Scheme == System.Uri.UriSchemeFile; }
         }
         
-        [DllImport ("libglib-2.0.so")]
+        [DllImport ("libglib-2.0.so.0")]
         private static extern IntPtr g_filename_to_uri (IntPtr filename, IntPtr hostname, IntPtr error);
 
-        [DllImport ("libglib-2.0.so")]
+        [DllImport ("libglib-2.0.so.0")]
         private static extern IntPtr g_filename_from_uri (IntPtr uri, IntPtr hostname, IntPtr error);
     }
 }

Modified: trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs	Wed Apr  2 17:48:16 2008
@@ -51,7 +51,7 @@
             AppPaintable = true;
         }
 
-        [DllImport("libgdk-x11-2.0.so")]
+        [DllImport("libgdk-x11-2.0.so.0")]
         private static extern IntPtr gdk_cairo_create(IntPtr raw);
 
         private static Cairo.Context CreateCairoDrawable(Gdk.Drawable drawable)



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