From 2be069f2fad9e5973fae2c543defb09c7375ccc3 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 8 Sep 2000 17:37:57 +0000 Subject: Fix Chris' fixes. svn path=/trunk/; revision=5270 --- shell/ChangeLog | 10 ++++++++++ shell/evolution-storage-listener.c | 6 +++--- shell/evolution-storage.c | 4 +--- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 86352d5825..7441bf61cc 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,13 @@ +2000-09-08 Ettore Perazzoli + + * evolution-storage-listener.c (create_servant): Return an + `EvolutionStorageListenerServant' instead of a + `POA_Evolution_StorageListener'. + (evolution_storage_listener_new): Add a cast accordingly. + + * evolution-storage.c (corba_class_init): Remove `NO_WARNINGS' + madness. + 2000-09-08 Christopher James Lahey * e-storage-set-view.c: Added base ETableModel functions. diff --git a/shell/evolution-storage-listener.c b/shell/evolution-storage-listener.c index ee45e442ea..79afb04032 100644 --- a/shell/evolution-storage-listener.c +++ b/shell/evolution-storage-listener.c @@ -106,7 +106,7 @@ impl_Evolution_StorageListener_removed_folder (PortableServer_Servant servant, gtk_signal_emit (GTK_OBJECT (listener), signals[REMOVED_FOLDER], path); } -static POA_Evolution_StorageListener * +static EvolutionStorageListenerServant * create_servant (EvolutionStorageListener *listener) { EvolutionStorageListenerServant *servant; @@ -130,7 +130,7 @@ create_servant (EvolutionStorageListener *listener) CORBA_exception_free (&ev); - return (POA_Evolution_StorageListener *) servant; + return servant; } static Evolution_StorageListener @@ -292,7 +292,7 @@ evolution_storage_listener_new (void) priv = new->priv; priv->servant = create_servant (new); - corba_objref = activate_servant (new, priv->servant); + corba_objref = activate_servant (new, (POA_Evolution_StorageListener *) priv->servant); evolution_storage_listener_construct (new, corba_objref); diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c index 9912b5bb2a..887a9f98d5 100644 --- a/shell/evolution-storage.c +++ b/shell/evolution-storage.c @@ -158,9 +158,7 @@ static void corba_class_init (void) { POA_Evolution_Storage__vepv *vepv; -#ifndef NO_WARNINGS - POA_Evolution_Storage__epv *epv; -#endif + PortableServer_ServantBase__epv *base_epv; base_epv = g_new0 (PortableServer_ServantBase__epv, 1); -- cgit