aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-info.c')
-rw-r--r--mail/folder-info.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/folder-info.c b/mail/folder-info.c
index eca156d1f0..1a31cba597 100644
--- a/mail/folder-info.c
+++ b/mail/folder-info.c
@@ -227,6 +227,7 @@ get_prop (BonoboPropertyBag *bag,
static BonoboObject *
evolution_folder_info_factory_fn (BonoboGenericFactory *factory,
+ const char *id,
void *closure)
{
EvolutionFolderInfo *info;
@@ -279,13 +280,10 @@ evolution_folder_info_notify_ready (void)
ready = TRUE;
for (p = folder_infos; p; p = p->next) {
- BonoboArg arg;
- CORBA_boolean b = ready;
EvolutionFolderInfo *info = p->data;
-
- arg._value = &b;
- arg._type = (CORBA_TypeCode) TC_boolean;
- bonobo_property_bag_set_value (BONOBO_PROPERTY_BAG (info->pb),
- "folder-info-ready", &arg, NULL);
+ Bonobo_PropertyBag bag;
+
+ bag = (Bonobo_PropertyBag)bonobo_object_corba_objref(BONOBO_OBJECT(info->pb));
+ bonobo_pbclient_set_boolean("folder-info-ready", ready, NULL);
}
}