Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gburt committed Sep 17, 2010
1 parent d264425 commit 73442d0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gio/AppInfoAdapter.custom
Expand Up @@ -29,7 +29,7 @@
[DllImport("libgio-2.0-0.dll")]
static extern IntPtr g_app_info_get_all();

public static GLib.AppInfo[] GetAll() {
public static GLib.AppInfo[] GetAll() {
IntPtr raw_ret = g_app_info_get_all();
GLib.AppInfo[] ret = (GLib.AppInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, false, typeof(GLib.AppInfo));
return ret;
Expand Down
4 changes: 2 additions & 2 deletions gio/FileAdapter.custom
Expand Up @@ -42,7 +42,7 @@ public bool Delete ()
[DllImport("libgio-2.0-0.dll")]
static extern IntPtr g_file_get_uri(IntPtr raw);

public System.Uri Uri {
public System.Uri Uri {
get {
IntPtr raw_ret = g_file_get_uri(Handle);
string ret = GLib.Marshaller.PtrToStringGFree(raw_ret);
Expand All @@ -59,7 +59,7 @@ public void Dispose ()
o.Dispose ();
}

~FileAdapter ()
~FileAdapter ()
{
if (!disposed)
Dispose ();
Expand Down
4 changes: 2 additions & 2 deletions gio/FileFactory.cs
Expand Up @@ -48,10 +48,10 @@ public static File NewForUri (Uri uri)

[DllImport ("libgio-2.0-0.dll")]
private static extern IntPtr g_file_new_for_path (string path);

public static File NewForPath (string path)
{
return GLib.FileAdapter.GetObject (g_file_new_for_path (path), true) as File;
return GLib.FileAdapter.GetObject (g_file_new_for_path (path), true) as File;
}

[DllImport ("libgio-2.0-0.dll")]
Expand Down
2 changes: 1 addition & 1 deletion gio/GioStream.cs
Expand Up @@ -145,7 +145,7 @@ public override int Read (byte[] buffer, int offset, int count)
if (is_disposed)
throw new ObjectDisposedException ("The stream is closed");
InputStream input_stream = null;
if (stream is InputStream)
if (stream is InputStream)
input_stream = stream as InputStream;
#if GIO_SHARP_2_22
else if (stream is IOStream)
Expand Down

0 comments on commit 73442d0

Please sign in to comment.