From: Jarl Gullberg Date: Sun, 21 May 2017 00:32:09 +0000 (+0200) Subject: Tightened access restrictions to native functions. X-Git-Tag: v3.0.0~96^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b95197e6ca4e024f51e3fe30f8cd6cde855e9ed5;p=platform%2Fcore%2Fcsapi%2Fopentk.git Tightened access restrictions to native functions. --- diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index d833198..f12091f 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -341,10 +341,10 @@ namespace OpenTK #if GTK3 [SuppressUnmanagedCodeSecurity, DllImport("libgdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern IntPtr gdk_win32_window_get_handle(IntPtr w); + static extern IntPtr gdk_win32_window_get_handle(IntPtr w); #else [SuppressUnmanagedCodeSecurity, DllImport("libgdk-win32-2.0-0.dll")] - public static extern IntPtr gdk_win32_drawable_get_handle(IntPtr d); + static extern IntPtr gdk_win32_drawable_get_handle(IntPtr d); #endif #endregion