evolution r36015 - in trunk/shell: . test



Author: mbarnes
Date: Mon Aug 18 14:06:17 2008
New Revision: 36015
URL: http://svn.gnome.org/viewvc/evolution?rev=36015&view=rev

Log:
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.



Modified:
   trunk/shell/ChangeLog
   trunk/shell/test/evolution-test-component.c

Modified: trunk/shell/test/evolution-test-component.c
==============================================================================
--- trunk/shell/test/evolution-test-component.c	(original)
+++ trunk/shell/test/evolution-test-component.c	Mon Aug 18 14:06:17 2008
@@ -73,11 +73,11 @@
 
 /* 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 @@
 	priv = component->priv;
 
 	g_message ("Upgrading from %d.%d.%d", major, minor, revision);
-
-	return CORBA_TRUE;
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]