0663cb37ba
* gdk/Pixbuf.custom: use windows dll name. Removed DllImport that is already in the generated file. * glib/Thread.cs: use windows dll name. * gtk/ThreadNotify.cs: close <remark> comment. svn path=/trunk/gtk-sharp/; revision=17731
22 lines
355 B
C#
22 lines
355 B
C#
// Thread.cs - thread awareness
|
|
//
|
|
// Author: Alp Toker <alp@atoker.com>
|
|
//
|
|
// (c) 2002 Alp Toker
|
|
|
|
namespace GLib
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class Thread
|
|
{
|
|
[DllImport("libgthread-2.0-0.dll")]
|
|
static extern void g_thread_init (IntPtr i);
|
|
|
|
public static void Init ()
|
|
{
|
|
g_thread_init (IntPtr.Zero);
|
|
}
|
|
}
|
|
}
|