aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-arg.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-10-22 02:51:30 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-10-22 02:51:30 +0800
commit21743ac2cfa2d2ddcd539e9b7695cc8dd720ef36 (patch)
tree0111dbe4d8a6d5617f5e5406001b0024e4293169 /camel/camel-arg.c
parent653cfffc0e00dfb59b36813c1b45c53d3f773c65 (diff)
downloadgsoc2013-evolution-21743ac2cfa2d2ddcd539e9b7695cc8dd720ef36.tar.gz
gsoc2013-evolution-21743ac2cfa2d2ddcd539e9b7695cc8dd720ef36.tar.zst
gsoc2013-evolution-21743ac2cfa2d2ddcd539e9b7695cc8dd720ef36.zip
Merge new-ui-branch into the trunk.
svn path=/trunk/; revision=22966
Diffstat (limited to 'camel/camel-arg.c')
-rw-r--r--camel/camel-arg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-arg.c b/camel/camel-arg.c
index f8cd048f0a..bcd79bab59 100644
--- a/camel/camel-arg.c
+++ b/camel/camel-arg.c
@@ -60,6 +60,9 @@ int camel_argv_build(CamelArgV *tv)
case CAMEL_ARG_PTR:
a->ca_ptr = va_arg(tv->ap, void *);
break;
+ case CAMEL_ARG_BOO:
+ a->ca_int = va_arg(tv->ap, int) != 0;
+ break;
default:
printf("Error, unknown type, truncating result\n");
more = FALSE;
@@ -96,6 +99,7 @@ int camel_arggetv_build(CamelArgGetV *tv)
*a->ca_object = NULL;
break;
case CAMEL_ARG_INT:
+ case CAMEL_ARG_BOO:
a->ca_int = va_arg(tv->ap, int *);
*a->ca_int = 0;
break;