public uint Attach(GLib.MainContext context) { uint raw_ret = g_source_attach(Handle, context == null ? IntPtr.Zero : context.Handle); uint ret = raw_ret; return(ret); }
void Run(object o) { GLib.MainContext context = new GLib.MainContext(); mainLoop = new GLib.MainLoop(context); }