mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
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
@ -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>
|
2002-10-19 Miguel de Icaza <miguel@ximian.com>
|
||||||
|
|
||||||
* glib/Object.cs: Added operator != and operator == overloads.
|
* 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 New Issue
Block a user