2002-10-19 Duncan Mak <duncan@ximian.com>
* glib/Source.cs: Added. svn path=/trunk/gtk-sharp/; revision=8412
This commit is contained in:
parent
39885119ee
commit
f94df39a18
2 changed files with 26 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-10-19 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* glib/Source.cs: Added.
|
||||
|
||||
2002-10-19 Miguel de Icaza <miguel@ximian.com>
|
||||
|
||||
* glib/Object.cs: Added operator != and operator == overloads.
|
||||
|
|
22
glib/Source.cs
Normal file
22
glib/Source.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
// 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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue