aboutsummaryrefslogtreecommitdiffstats
path: root/wombat/wombat.c
diff options
context:
space:
mode:
authorDietmar Maurer <dietmar@ximian.com>2001-03-21 22:55:09 +0800
committerDietmar Maurer <dietmar@src.gnome.org>2001-03-21 22:55:09 +0800
commit0cf839a464d506c810806b77eccb56d63ea51086 (patch)
tree5107c987adf52d5ec97c039f8e6f5da63c32dd17 /wombat/wombat.c
parent33688c3aece916519259f177b3fa0d2af76ca725 (diff)
downloadgsoc2013-evolution-0cf839a464d506c810806b77eccb56d63ea51086.tar.gz
gsoc2013-evolution-0cf839a464d506c810806b77eccb56d63ea51086.tar.zst
gsoc2013-evolution-0cf839a464d506c810806b77eccb56d63ea51086.zip
initialise the moniker factory
2001-03-21 Dietmar Maurer <dietmar@ximian.com> * wombat.c (setup_config): initialise the moniker factory * GNOME_Evolution_Wombat.oaf.in: added the necessary entries for the wombat moniker. * wombat-moniker.[ch]: wombat is now a moniker svn path=/trunk/; revision=8866
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;
}