projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66568d5
)
Tightened access restrictions to native functions.
author
Jarl Gullberg
<jarl.gullberg@gmail.com>
Sun, 21 May 2017 00:32:09 +0000
(
02:32
+0200)
committer
Jarl Gullberg
<jarl.gullberg@gmail.com>
Sun, 21 May 2017 00:32:09 +0000
(
02:32
+0200)
src/OpenTK.GLWidget/GLWidget.cs
patch
|
blob
|
history
diff --git
a/src/OpenTK.GLWidget/GLWidget.cs
b/src/OpenTK.GLWidget/GLWidget.cs
index
d833198
..
f12091f
100644
(file)
--- 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