From 234717712ed494b2f9fbb51a2688f1b0ec5640a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20G=2E=20Aragoneses?= Date: Tue, 24 Sep 2013 01:02:08 +0200 Subject: [PATCH] glib: remove unused 'using' statements --- glib/FileUtils.cs | 1 - glib/Global.cs | 1 - glib/InitiallyUnowned.cs | 2 -- glib/KeyFile.cs | 1 - glib/Log.cs | 1 - glib/ManagedValue.cs | 1 - glib/MissingIntPtrCtorException.cs | 1 - glib/Object.cs | 2 -- glib/Opaque.cs | 3 --- glib/Signal.cs | 1 - glib/SignalArgs.cs | 1 - glib/Timeout.cs | 4 ++-- glib/Value.cs | 1 - 13 files changed, 2 insertions(+), 18 deletions(-) diff --git a/glib/FileUtils.cs b/glib/FileUtils.cs index e48ef8288..cdd66f8ac 100644 --- a/glib/FileUtils.cs +++ b/glib/FileUtils.cs @@ -22,7 +22,6 @@ namespace GLib { using System; - using System.Text; using System.Runtime.InteropServices; public class FileUtils diff --git a/glib/Global.cs b/glib/Global.cs index 3dae617bd..9fdde2886 100644 --- a/glib/Global.cs +++ b/glib/Global.cs @@ -23,7 +23,6 @@ namespace GLib { using System; - using System.Text; using System.Runtime.InteropServices; public class Global diff --git a/glib/InitiallyUnowned.cs b/glib/InitiallyUnowned.cs index ddca29262..303d07f2d 100644 --- a/glib/InitiallyUnowned.cs +++ b/glib/InitiallyUnowned.cs @@ -21,8 +21,6 @@ namespace GLib { using System; - using System.Collections; - using System.ComponentModel; using System.Runtime.InteropServices; public class InitiallyUnowned : Object { diff --git a/glib/KeyFile.cs b/glib/KeyFile.cs index d3c1540bc..2df3799b7 100644 --- a/glib/KeyFile.cs +++ b/glib/KeyFile.cs @@ -21,7 +21,6 @@ using System; -using System.Collections; using System.Runtime.InteropServices; namespace GLib { diff --git a/glib/Log.cs b/glib/Log.cs index eeb1d23d8..8464e5665 100644 --- a/glib/Log.cs +++ b/glib/Log.cs @@ -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); diff --git a/glib/ManagedValue.cs b/glib/ManagedValue.cs index dc96ad520..5d0c64344 100644 --- a/glib/ManagedValue.cs +++ b/glib/ManagedValue.cs @@ -21,7 +21,6 @@ namespace GLib { using System; - using System.Collections; using System.Runtime.InteropServices; using GLib; diff --git a/glib/MissingIntPtrCtorException.cs b/glib/MissingIntPtrCtorException.cs index f5633430c..8c390fcc4 100644 --- a/glib/MissingIntPtrCtorException.cs +++ b/glib/MissingIntPtrCtorException.cs @@ -22,7 +22,6 @@ namespace GLib { using System; - using System.Runtime.InteropServices; public class MissingIntPtrCtorException : Exception { diff --git a/glib/Object.cs b/glib/Object.cs index b3a3be040..45d965707 100644 --- a/glib/Object.cs +++ b/glib/Object.cs @@ -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 { diff --git a/glib/Opaque.cs b/glib/Opaque.cs index 7d31b035d..5eca7fdd3 100644 --- a/glib/Opaque.cs +++ b/glib/Opaque.cs @@ -27,9 +27,6 @@ namespace GLib { using System; - using System.Collections; - using System.ComponentModel; - using System.Runtime.InteropServices; public class Opaque : IWrapper, IDisposable { diff --git a/glib/Signal.cs b/glib/Signal.cs index f0dadae7d..3ca01cec2 100644 --- a/glib/Signal.cs +++ b/glib/Signal.cs @@ -23,7 +23,6 @@ namespace GLib { using System; - using System.Collections; using System.Runtime.InteropServices; [Flags] diff --git a/glib/SignalArgs.cs b/glib/SignalArgs.cs index 7ef9ad0b8..1761093a5 100644 --- a/glib/SignalArgs.cs +++ b/glib/SignalArgs.cs @@ -22,7 +22,6 @@ namespace GLib { using System; - using System.Collections; public class SignalArgs : EventArgs { diff --git a/glib/Timeout.cs b/glib/Timeout.cs index ccb261e77..99fd9a5d6 100755 --- a/glib/Timeout.cs +++ b/glib/Timeout.cs @@ -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; diff --git a/glib/Value.cs b/glib/Value.cs index 32963e516..deb7deb3e 100755 --- a/glib/Value.cs +++ b/glib/Value.cs @@ -23,7 +23,6 @@ namespace GLib { using System; - using System.Collections; using System.Reflection; using System.Runtime.InteropServices;