Commit 71e89ad7 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

move init into a 'general' service so that things do not complain.


2002-09-19  Jody Goldberg <jody@gnome.org>

	* corba-application.c : move init into a 'general' service so that
	  things do not complain.
parent 018f2466
2002-09-19 Jody Goldberg <jody@gnome.org>
* corba-application.c : move init into a 'general' service so that
things do not complain.
2002-09-18 Jody Goldberg <jody@gnome.org>
* New module to re-enable a CORBA interface in a plugin now that it is
......
......@@ -78,14 +78,14 @@ capp_workbooks (PortableServer_Servant ignore,
return res;
}
static POA_GNOME_Gnumeric_Application__vepv application_vepv;
static POA_GNOME_Gnumeric_Application__epv application_epv;
static POA_GNOME_Gnumeric_Application application;
static PortableServer_Servant app = &application;
static PortableServer_Servant app = CORBA_OBJECT_NIL;
void
plugin_init (void)
plugin_init_general (ErrorInfo **ret_error)
{
static POA_GNOME_Gnumeric_Application__vepv application_vepv;
static POA_GNOME_Gnumeric_Application__epv application_epv;
static POA_GNOME_Gnumeric_Application application;
PortableServer_ObjectId *oid;
PortableServer_POA poa;
CORBA_Environment ev;
......@@ -101,6 +101,8 @@ plugin_init (void)
application_epv.workbooks = capp_workbooks;
application.vepv = &application_vepv;
app = &application;
CORBA_exception_init (&ev);
POA_GNOME_Gnumeric_Application__init (app, &ev);
......@@ -116,7 +118,7 @@ plugin_init (void)
}
void
plugin_cleanup (void)
plugin_cleanup_general (ErrorInfo **ret_error)
{
PortableServer_POA poa;
CORBA_Environment ev;
......
......@@ -7,4 +7,7 @@
<loader type="Gnumeric_Builtin:module">
<attribute name="module_file" value="corba.la"/>
</loader>
<services>
<service type="general"></service>
</services>
</plugin>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment