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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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