aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-remote/e-corba-utils.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2005-05-13 13:19:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-05-13 13:19:55 +0800
commitaab8b5c8273f6847f4ab33ebc5fa771d6a85832c (patch)
treeae0d1aa673d12a0993b93e29ce327106cda17702 /plugins/mail-remote/e-corba-utils.c
parent68416e0bdd4f24d7d1336df463d6944d5451ecdd (diff)
downloadgsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.gz
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.bz2
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.lz
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.xz
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.zst
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.zip
more api/changes. dosn't build again.
svn path=/trunk/; revision=29346
Diffstat (limited to 'plugins/mail-remote/e-corba-utils.c')
-rw-r--r--plugins/mail-remote/e-corba-utils.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/mail-remote/e-corba-utils.c b/plugins/mail-remote/e-corba-utils.c
new file mode 100644
index 0000000000..c9f18d0313
--- /dev/null
+++ b/plugins/mail-remote/e-corba-utils.c
@@ -0,0 +1,21 @@
+
+#include "e-corba-utils.h"
+
+void
+e_mail_property_set_string(GNOME_Evolution_Mail_Property *prop, const char *name, const char *val)
+{
+ prop->value._release = CORBA_TRUE;
+ prop->value._type = TC_CORBA_string;
+ prop->value._value = CORBA_sequence_CORBA_string_allocbuf(1);
+ ((char **)prop->value._value)[0] = CORBA_string_dup(val);
+ prop->name = CORBA_string_dup(name);
+}
+
+void
+e_mail_property_set_null(GNOME_Evolution_Mail_Property *prop, const char *name)
+{
+ prop->value._release = CORBA_TRUE;
+ prop->value._type = TC_null;
+ prop->name = CORBA_string_dup(name);
+}
+