diff options
author | Not Zed <NotZed@Ximian.com> | 2005-06-02 12:30:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-06-02 12:30:16 +0800 |
commit | 84dd2e3f792d59dadacb9eb3bea0ad719002643a (patch) | |
tree | 2e28032d2bd8a0c1331222b21f6d533fc21e3eb4 /mail/mail-component.c | |
parent | df95abe3008bfdf1385ec04485d796514f15cfd2 (diff) | |
download | gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.tar gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.tar.gz gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.tar.bz2 gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.tar.lz gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.tar.xz gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.tar.zst gsoc2013-evolution-84dd2e3f792d59dadacb9eb3bea0ad719002643a.zip |
change this to sub-class evolution-component, not bonobo-object.
2005-06-02 Not Zed <NotZed@Ximian.com>
* mail-component.c: change this to sub-class evolution-component,
not bonobo-object.
* Evolution-Mail.idl: Made the mail component sub-class
Evolution.Component so it can add new interfaces for remote gui
mail operations.
svn path=/trunk/; revision=29444
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c index 9b280a0839..3e11a8e249 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -89,7 +89,7 @@ static void create_local_item_cb(EUserCreatableItemsHandler *handler, const char #define MAIL_COMPONENT_DEFAULT(mc) if (mc == NULL) mc = mail_component_peek(); -#define PARENT_TYPE bonobo_object_get_type () +#define PARENT_TYPE evolution_component_get_type () static BonoboObjectClass *parent_class = NULL; struct _store_info { @@ -865,7 +865,8 @@ impl_upgradeFromVersion (PortableServer_Servant servant, const short major, cons static void mail_component_class_init (MailComponentClass *class) { - POA_GNOME_Evolution_Component__epv *epv = &class->epv; + POA_GNOME_Evolution_Component__epv *epv = &((EvolutionComponentClass *)class)->epv; + POA_GNOME_Evolution_MailComponent__epv *mepv = &class->epv; GObjectClass *object_class = G_OBJECT_CLASS (class); parent_class = g_type_class_peek_parent (class); @@ -881,6 +882,8 @@ mail_component_class_init (MailComponentClass *class) epv->handleURI = impl_handleURI; epv->sendAndReceive = impl_sendAndReceive; epv->upgradeFromVersion = impl_upgradeFromVersion; + + mepv = mepv; } static void |