aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@src.gnome.org>2008-04-01 18:42:13 +0800
committerJohnny Jacob <jjohnny@src.gnome.org>2008-04-01 18:42:13 +0800
commite040065df0f1ae04ba7dc561ceef144da30cd58c (patch)
treeb7c456880ceb74b180a0aaf6a46d7460689f2cef
parent401c1b900eeba522872b9e12fd4d8e11f898844c (diff)
downloadgsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.tar
gsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.tar.gz
gsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.tar.bz2
gsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.tar.lz
gsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.tar.xz
gsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.tar.zst
gsoc2013-evolution-e040065df0f1ae04ba7dc561ceef144da30cd58c.zip
Mono Loader Camel.cs: Type cast. Fixes compile error.
svn path=/trunk/; revision=35295
-rw-r--r--plugins/mono/Camel.cs24
-rw-r--r--plugins/mono/ChangeLog4
2 files changed, 16 insertions, 12 deletions
diff --git a/plugins/mono/Camel.cs b/plugins/mono/Camel.cs
index 97aa2f3fe3..4ad80e7012 100644
--- a/plugins/mono/Camel.cs
+++ b/plugins/mono/Camel.cs
@@ -392,18 +392,18 @@ namespace Camel {
}
public enum Tag {
- NAME = 0x1400 + Arg.Tag.STR,
- FULL_NAME = 0x1401 + Arg.Tag.STR,
- STORE = 0x1402 + Arg.Tag.OBJ,
- PERMANENTFLAGS = 0x1403 + Arg.Tag.INT,
- TOTAL = 0x1404 + Arg.Tag.INT,
- UNREAD = 0x1405 + Arg.Tag.INT,
- DELETED = 0x1406 + Arg.Tag.INT,
- JUNKED = 0x1407 + Arg.Tag.INT,
- VISIBLE = 0x1408 + Arg.Tag.INT,
- UID_ARRAY = 0x1409 + Arg.Tag.PTR,
- INFO_ARRAY = 0x140a + Arg.Tag.PTR, // GPtrArray
- PROPERTIES = 0x140b + Arg.Tag.PTR, // GSList of properties
+ NAME = (int) (0x1400 + Arg.Tag.STR),
+ FULL_NAME = (int) (0x1401 + Arg.Tag.STR),
+ STORE = (int) (0x1402 + Arg.Tag.OBJ),
+ PERMANENTFLAGS = (int) (0x1403 + Arg.Tag.INT),
+ TOTAL = (int) (0x1404 + Arg.Tag.INT),
+ UNREAD = (int) (0x1405 + Arg.Tag.INT),
+ DELETED = (int) (0x1406 + Arg.Tag.INT),
+ JUNKED = (int) (0x1407 + Arg.Tag.INT),
+ VISIBLE = (int) (0x1408 + Arg.Tag.INT),
+ UID_ARRAY = (int) (0x1409 + Arg.Tag.PTR),
+ INFO_ARRAY = (int) (0x140a + Arg.Tag.PTR), // GPtrArray
+ PROPERTIES = (int) (0x140b + Arg.Tag.PTR), // GSList of properties
}
[DllImport("camel-provider-1.2")] static extern IntPtr camel_folder_get_message(IntPtr o, string uid, ref CamelException ex);
diff --git a/plugins/mono/ChangeLog b/plugins/mono/ChangeLog
index e97fd60cbd..e6131ce552 100644
--- a/plugins/mono/ChangeLog
+++ b/plugins/mono/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-01 Johnny Jacob <jjohnny@novell.com>
+
+ * Camel.cs: Type cast. Fixes compile error.
+
2008-03-19 Sankar P <psankar@novell.com>
* mono-plugin.c: (epm_invoke),