[f-spot/taglib-metadata: 8/9] Switch to using GIO 2.22.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot/taglib-metadata: 8/9] Switch to using GIO 2.22.
- Date: Sun, 13 Jun 2010 13:05:35 +0000 (UTC)
commit 86c6cfa144a040c2e51be43bcfd4ad94879af868
Author: Ruben Vermeersch <ruben savanne be>
Date: Sat Jun 12 16:05:43 2010 +0200
Switch to using GIO 2.22.
We need the atomic readwrite replace functionality for safe image
writing.
lib/gio-sharp/generator/InterfaceGen.cs | 2 +-
lib/gio-sharp/generator/Method.cs | 8 ++++----
lib/gio-sharp/gio/GioStream.cs | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lib/gio-sharp/generator/InterfaceGen.cs b/lib/gio-sharp/generator/InterfaceGen.cs
index 85b93fa..2559845 100644
--- a/lib/gio-sharp/generator/InterfaceGen.cs
+++ b/lib/gio-sharp/generator/InterfaceGen.cs
@@ -363,7 +363,7 @@ namespace GtkSharp.Generation {
foreach (Method method in methods.Values) {
if (IgnoreMethod (method, this))
continue;
- method.GenerateDecl (sw, true);
+ method.GenerateDecl (sw, true);
}
foreach (Property prop in props.Values)
diff --git a/lib/gio-sharp/generator/Method.cs b/lib/gio-sharp/generator/Method.cs
index 3ecf077..8033173 100644
--- a/lib/gio-sharp/generator/Method.cs
+++ b/lib/gio-sharp/generator/Method.cs
@@ -110,7 +110,7 @@ namespace GtkSharp.Generation {
GenerateDeclCommon (sw, implementor, false);
}
- private void GenerateDeclCommon (StreamWriter sw, ClassBase implementor, bool is_interface)
+ private void GenerateDeclCommon (StreamWriter sw, ClassBase implementor, bool is_interface)
{
if (IsStatic)
sw.Write("static ");
@@ -121,7 +121,7 @@ namespace GtkSharp.Generation {
if (implementor != null)
dup = implementor.GetMethodRecursively (Name);
- if (Name == "ToString" && Parameters.Count == 0 && !is_interface)
+ if (Name == "ToString" && Parameters.Count == 0 && !is_interface)
sw.Write("override ");
else if (Name == "GetGType" && container_type is ObjectGen)
sw.Write("new ");
@@ -156,7 +156,7 @@ namespace GtkSharp.Generation {
GenerateDecl (sw, false);
}
- public void GenerateDecl (StreamWriter sw, bool is_interface)
+ public void GenerateDecl (StreamWriter sw, bool is_interface)
{
if (IsStatic)
return;
@@ -183,7 +183,7 @@ namespace GtkSharp.Generation {
else
{
sw.Write("\t\t");
- GenerateDeclCommon (sw, null, is_interface);
+ GenerateDeclCommon (sw, null, is_interface);
sw.WriteLine (";");
}
diff --git a/lib/gio-sharp/gio/GioStream.cs b/lib/gio-sharp/gio/GioStream.cs
index b0be69e..dac20ab 100644
--- a/lib/gio-sharp/gio/GioStream.cs
+++ b/lib/gio-sharp/gio/GioStream.cs
@@ -145,7 +145,7 @@ namespace GLib
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]