aboutsummaryrefslogtreecommitdiffstats
path: root/wombat/wombat.c
diff options
context:
space:
mode:
Diffstat (limited to 'wombat/wombat.c')
-rw-r--r--wombat/wombat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/wombat/wombat.c b/wombat/wombat.c
index 1db39e5673..d8a6da6271 100644
--- a/wombat/wombat.c
+++ b/wombat/wombat.c
@@ -16,7 +16,7 @@
#endif
#include "calendar/pcs/cal-factory.h"
-#include "calendar/pcs/cal-backend-imc.h"
+#include "calendar/pcs/cal-backend-file.h"
/* The and addressbook calendar factories */
@@ -183,7 +183,7 @@ setup_pcs (int argc, char **argv)
return;
}
- cal_factory_register_method (cal_factory, "file", CAL_BACKEND_IMC_TYPE);
+ cal_factory_register_method (cal_factory, "file", CAL_BACKEND_FILE_TYPE);
object = bonobo_object_corba_objref (BONOBO_OBJECT (cal_factory));
@@ -265,6 +265,11 @@ init_bonobo (int *argc, char **argv)
int
main (int argc, char **argv)
{
+ {
+ char *c = malloc (10);
+ if (c)
+ free (c);
+ }
init_bonobo (&argc, argv);
setup_vfs (argc, argv);