c0b574a686
* mapdllnames.pl : a little whitespace action * api/*-api.xml : move to win32 dllnames * */makefile.win32 : remove the mapdllnames step * */*.cs : move to win32 dllnames * */*.custom : move to win32 dllnames * sources/gtk-sharp.sources : move to win32 dllnames svn path=/trunk/gtk-sharp/; revision=11823
22 lines
399 B
C#
22 lines
399 B
C#
// GLib.Source.cs - Source class implementation
|
|
//
|
|
// Author: Duncan Mak <duncan@ximian.com>
|
|
//
|
|
// (c) 2002 Mike Kestner
|
|
|
|
namespace GLib {
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class Source {
|
|
|
|
[DllImport("libglib-2.0-0.dll")]
|
|
static extern bool g_source_remove (uint tag);
|
|
|
|
public static bool Remove (uint tag)
|
|
{
|
|
return g_source_remove (tag);
|
|
}
|
|
}
|
|
}
|