aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/test/evolution-test-component.c10
2 files changed, 9 insertions, 6 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 60181ad24e..0aa3bb8359 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2008-08-18 Matthew Barnes <mbarnes@redhat.com>
+ * test/evolution-test-component.c (impl_upgradeFromVersion):
+ Fix the function signature to conform to the component interface.
+
+2008-08-18 Matthew Barnes <mbarnes@redhat.com>
+
** Fixes part of bug #508732
* e-shell.c:
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;
}