aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),