aboutsummaryrefslogtreecommitdiffstats
path: root/wombat/wombat.c
diff options
context:
space:
mode:
Diffstat (limited to 'wombat/wombat.c')
-rw-r--r--wombat/wombat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/wombat/wombat.c b/wombat/wombat.c
index 29bd87b217..f5baae4610 100644
--- a/wombat/wombat.c
+++ b/wombat/wombat.c
@@ -20,6 +20,8 @@
#include "calendar/pcs/cal-factory.h"
#include "calendar/pcs/cal-backend-file.h"
+#include "wombat-moniker.h"
+
/* The and addressbook calendar factories */
static CalFactory *cal_factory;
@@ -143,6 +145,16 @@ setup_pcs (int argc, char **argv)
static gboolean
setup_config (int argc, char **argv)
{
+ BonoboGenericFactory *factory;
+ char *oafiid = "OAFIID:Bonobo_Moniker_wombat_Factory";
+
+ factory = bonobo_generic_factory_new_multi (oafiid,
+ wombat_moniker_factory,
+ NULL);
+
+ // bonobo_running_context_auto_exit_unref (BONOBO_OBJECT (factory));
+
+
return TRUE;
}