diff --git a/gio/AppInfoAdapter.cs b/gio/AppInfoAdapter.cs index 13d57b6b8..e36b6d01c 100644 --- a/gio/AppInfoAdapter.cs +++ b/gio/AppInfoAdapter.cs @@ -23,7 +23,7 @@ namespace GLib { using System.Runtime.InteropServices; public partial class AppInfoAdapter { - [DllImport ("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport (GioGlobal.GioNativeDll, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_app_info_get_all(); public static GLib.IAppInfo[] GetAll () { diff --git a/gio/FileAdapter.cs b/gio/FileAdapter.cs index 3efec2234..d1b4cdc10 100644 --- a/gio/FileAdapter.cs +++ b/gio/FileAdapter.cs @@ -37,7 +37,7 @@ namespace GLib { return Delete (null); } - [DllImport ("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport (GioGlobal.GioNativeDll, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_file_get_uri(IntPtr raw); public System.Uri Uri { diff --git a/gio/FileFactory.cs b/gio/FileFactory.cs index bc0bb2127..c3d8c9b28 100644 --- a/gio/FileFactory.cs +++ b/gio/FileFactory.cs @@ -27,7 +27,7 @@ namespace GLib { public class FileFactory { - [DllImport ("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport (GioGlobal.GioNativeDll, CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr g_file_new_for_uri (string uri); public static IFile NewForUri (string uri) @@ -40,7 +40,7 @@ namespace GLib return GLib.FileAdapter.GetObject (g_file_new_for_uri (uri.ToString ()), false) as IFile; } - [DllImport ("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport (GioGlobal.GioNativeDll, CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr g_file_new_for_path (string path); public static IFile NewForPath (string path) @@ -48,7 +48,7 @@ namespace GLib return GLib.FileAdapter.GetObject (g_file_new_for_path (path), false) as IFile; } - [DllImport ("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport (GioGlobal.GioNativeDll, CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr g_file_new_for_commandline_arg (string arg); public static IFile NewFromCommandlineArg (string arg)