f94df39a18
* glib/Source.cs: Added. svn path=/trunk/gtk-sharp/; revision=8412
22 lines
390 B
C#
22 lines
390 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("glib-2.0")]
|
|
static extern bool g_source_remove (uint tag);
|
|
|
|
public static bool Remove (uint tag)
|
|
{
|
|
return g_source_remove (tag);
|
|
}
|
|
}
|
|
}
|