From 310ff89edd9b45635ad6bcf46269c402536d0d71 Mon Sep 17 00:00:00 2001 From: John Luke Date: Wed, 27 Aug 2003 02:26:05 +0000 Subject: [PATCH] 2003-08-26 John Luke * gtk/ThreadNotify.cs: mark dllimported methods private svn path=/trunk/gtk-sharp/; revision=17651 --- ChangeLog | 4 ++++ gtk/ThreadNotify.cs | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf864bc01..557b8f0cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-26 John Luke + + * gtk/ThreadNotify.cs: mark dllimported methods private + 2003-08-26 Gonzalo Paniagua Javier * gconf/GConf/Value.cs: implemented support for lists. diff --git a/gtk/ThreadNotify.cs b/gtk/ThreadNotify.cs index ebfb72a37..4b9128a62 100644 --- a/gtk/ThreadNotify.cs +++ b/gtk/ThreadNotify.cs @@ -29,20 +29,20 @@ namespace Gtk { // DllImport functions from Gtk // [DllImport ("libgtk-win32-2.0-0.dll")] - public static extern int gdk_input_add (int s, int cond, GdkInputFunction f, IntPtr data); + private static extern int gdk_input_add (int s, int cond, GdkInputFunction f, IntPtr data); public delegate void GdkInputFunction (IntPtr data, int source, int cond); // // Libc stuff // [DllImport ("libc.so.6")] - public static extern int pipe (int [] fd); + private static extern int pipe (int [] fd); [DllImport ("libc.so.6")] - public static extern unsafe int read (int fd, byte *b, int count); + private static extern unsafe int read (int fd, byte *b, int count); [DllImport ("libc.so.6")] - public static extern unsafe int write (int fd, byte *b, int count); + private static extern unsafe int write (int fd, byte *b, int count); GdkInputFunction notify_pipe;