Fix Chris' fixes.
svn path=/trunk/; revision=5270
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
|
||||
|
||||
* 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 <clahey@helixcode.com>
|
||||
|
||||
* e-storage-set-view.c: Added base ETableModel functions.
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user