Merge pull request #67 from knocte/nitpicks

Various nitpicks and clean-ups.
This commit is contained in:
Bertrand Lorentz 2013-09-24 09:51:40 -07:00
commit 33aa2820f8
21 changed files with 15 additions and 31 deletions

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{42FE871A-D8CF-4B29-9AFF-B02454E6C976}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>atk</RootNamespace>
<AssemblyName>atk</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
@ -33,7 +33,6 @@
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="Global.cs" />
<Compile Include="Hyperlink.cs" />
<Compile Include="Misc.cs" />

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{364577DB-9728-4951-AC2C-EDF7A6FCC09D}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>cairo</RootNamespace>
<AssemblyName>cairo</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{58346CC6-DE93-45B4-8093-3508BD5DAA12}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>gdk</RootNamespace>
<AssemblyName>gdk</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
@ -33,7 +33,6 @@
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="Atom.cs" />
<Compile Include="Color.cs" />
<Compile Include="Device.cs" />

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1C3BB17B-336D-432A-8952-4E979BC90867}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>gio</RootNamespace>
<AssemblyName>gio</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
@ -34,7 +34,6 @@
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AppInfoAdapter.cs" />
<Compile Include="AssemblyInfo.cs" />
<Compile Include="DBusInterfaceVTable.cs" />
<Compile Include="IFile.cs" />
<Compile Include="FileAdapter.cs" />

View File

@ -22,7 +22,6 @@
namespace GLib {
using System;
using System.Text;
using System.Runtime.InteropServices;
public class FileUtils

View File

@ -23,7 +23,6 @@
namespace GLib {
using System;
using System.Text;
using System.Runtime.InteropServices;
public class Global

View File

@ -21,8 +21,6 @@
namespace GLib {
using System;
using System.Collections;
using System.ComponentModel;
using System.Runtime.InteropServices;
public class InitiallyUnowned : Object {

View File

@ -21,7 +21,6 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
namespace GLib {

View File

@ -25,7 +25,6 @@
namespace GLib {
using System;
using System.Collections;
using System.Runtime.InteropServices;
public delegate void LogFunc (string log_domain, LogLevelFlags log_level, string message);

View File

@ -21,7 +21,6 @@
namespace GLib {
using System;
using System.Collections;
using System.Runtime.InteropServices;
using GLib;

View File

@ -22,7 +22,6 @@
namespace GLib {
using System;
using System.Runtime.InteropServices;
public class MissingIntPtrCtorException : Exception
{

View File

@ -26,10 +26,8 @@ namespace GLib {
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
public class Object : IWrapper, IDisposable {

View File

@ -26,7 +26,7 @@ namespace GLib {
using System.Runtime.InteropServices;
using System.Reflection;
public class ObjectManager {
public static class ObjectManager {
static BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance;

View File

@ -27,9 +27,6 @@
namespace GLib {
using System;
using System.Collections;
using System.ComponentModel;
using System.Runtime.InteropServices;
public class Opaque : IWrapper, IDisposable {

View File

@ -23,7 +23,6 @@
namespace GLib {
using System;
using System.Collections;
using System.Runtime.InteropServices;
[Flags]

View File

@ -22,7 +22,6 @@
namespace GLib {
using System;
using System.Collections;
public class SignalArgs : EventArgs {

View File

@ -129,10 +129,10 @@ namespace GLib {
{
Source.Remove (id);
}
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool g_source_remove (uint id);
public static bool Remove (TimeoutHandler hndlr)
{
bool result = false;

View File

@ -23,7 +23,6 @@
namespace GLib {
using System;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3BF1D531-8840-4F15-8066-A9788D8C398B}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>glib</RootNamespace>
<AssemblyName>glib</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
@ -21,6 +21,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
@ -30,11 +31,11 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="Argv.cs" />
<Compile Include="AssemblyInfo.cs" />
<Compile Include="ConnectBeforeAttribute.cs" />
<Compile Include="DefaultSignalHandlerAttribute.cs" />
<Compile Include="DestroyNotify.cs" />
@ -87,4 +88,7 @@
<Compile Include="VariantType.cs" />
<Compile Include="GLibSynchronizationContext.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Core" />
</ItemGroup>
</Project>

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{94045F11-4266-40B4-910F-298985AF69D5}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>gtk</RootNamespace>
<AssemblyName>gtk</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

View File

@ -6,7 +6,7 @@
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>pango</RootNamespace>
<AssemblyName>pango</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
@ -34,7 +34,6 @@
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="Analysis.cs" />
<Compile Include="AssemblyInfo.cs" />
<Compile Include="AttrBackground.cs" />
<Compile Include="AttrColor.cs" />
<Compile Include="AttrFallback.cs" />