From 6a753a24990e14b9b896bf419747723fe828f748 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Aug 2008 14:06:17 +0000 Subject: Fix the function signature to conform to the component interface. 2008-08-18 Matthew Barnes * shell/test/evolution-test-component.c (impl_upgradeFromVersion): Fix the function signature to conform to the component interface. svn path=/trunk/; revision=36015 --- shell/test/evolution-test-component.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'shell/test') diff --git a/shell/test/evolution-test-component.c b/shell/test/evolution-test-component.c index 88a7b05bf9..6e437e55f4 100644 --- a/shell/test/evolution-test-component.c +++ b/shell/test/evolution-test-component.c @@ -73,11 +73,11 @@ impl_finalize (GObject *object) /* Evolution::Component CORBA methods */ -static CORBA_boolean +static void impl_upgradeFromVersion (PortableServer_Servant servant, - CORBA_short major, - CORBA_short minor, - CORBA_short revision, + const CORBA_short major, + const CORBA_short minor, + const CORBA_short revision, CORBA_Environment *ev) { EvolutionTestComponent *component = EVOLUTION_TEST_COMPONENT (bonobo_object_from_servant (servant)); @@ -86,8 +86,6 @@ impl_upgradeFromVersion (PortableServer_Servant servant, priv = component->priv; g_message ("Upgrading from %d.%d.%d", major, minor, revision); - - return CORBA_TRUE; } -- cgit