aboutsummaryrefslogtreecommitdiffstats
path: root/shell/test
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-08-18 22:06:17 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-18 22:06:17 +0800
commit6a753a24990e14b9b896bf419747723fe828f748 (patch)
tree149ee8d8ce96cd916934ec548d0e586e4efa6320 /shell/test
parentddd75dbfe67693a53a23791bb26fb9c55b3e03f2 (diff)
downloadgsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.tar
gsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.tar.gz
gsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.tar.bz2
gsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.tar.lz
gsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.tar.xz
gsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.tar.zst
gsoc2013-evolution-6a753a24990e14b9b896bf419747723fe828f748.zip
Fix the function signature to conform to the component interface.
2008-08-18 Matthew Barnes <mbarnes@redhat.com> * shell/test/evolution-test-component.c (impl_upgradeFromVersion): Fix the function signature to conform to the component interface. svn path=/trunk/; revision=36015
Diffstat (limited to 'shell/test')
-rw-r--r--shell/test/evolution-test-component.c10
1 files changed, 4 insertions, 6 deletions
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;
}