aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-09-09 01:37:57 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-09-09 01:37:57 +0800
commit2be069f2fad9e5973fae2c543defb09c7375ccc3 (patch)
tree8c202a160827f05c04cb115371f60adb52f1e43c
parentf2df2bcabee527ff9e8aae3f88b102b0c810f04f (diff)
downloadgsoc2013-evolution-2be069f2fad9e5973fae2c543defb09c7375ccc3.tar.gz
gsoc2013-evolution-2be069f2fad9e5973fae2c543defb09c7375ccc3.tar.zst
gsoc2013-evolution-2be069f2fad9e5973fae2c543defb09c7375ccc3.zip
Fix Chris' fixes.
svn path=/trunk/; revision=5270
-rw-r--r--shell/ChangeLog10
-rw-r--r--shell/evolution-storage-listener.c6
-rw-r--r--shell/evolution-storage.c4
3 files changed, 14 insertions, 6 deletions
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 <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.
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);
>"@0xproject/connect": "^2.0.3", "@0xproject/contract-wrappers": "^1.0.5", "@0xproject/json-schemas": "^1.0.3", "@0xproject/order-utils": "^1.0.4", "@0xproject/subproviders": "^2.0.4", "@0xproject/types": "^1.1.0", "@0xproject/typescript-typings": "^2.0.1", "@0xproject/utils": "^1.0.10", "@0xproject/web3-wrapper": "^3.0.0", "ethereum-types": "^1.0.6", "lodash": "^4.17.10" }, "devDependencies": { "@0xproject/tslint-config": "^1.0.7", "@types/lodash": "^4.14.116", "@types/mocha": "^2.2.42", "@types/node": "*", "chai": "^4.0.1", "chai-as-promised": "^7.1.0", "chai-bignumber": "^2.0.1", "copyfiles": "^1.2.0", "dirty-chai": "^2.0.1", "make-promises-safe": "^1.1.0", "mocha": "^4.1.0", "npm-run-all": "^4.1.2", "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", "typedoc": "0.12.0", "typescript": "3.0.1" }, "publishConfig": { "access": "public" } }