From 79970fcfc72d9de4990cbd0ea6d0939ac39ccf6e Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Fri, 28 Apr 2000 23:04:29 +0000 Subject: fix the `USING_OAF' changes so that they work for when we are not using 2000-04-28 Larry Ewing * backend/pas/pas-book-factory.c (register_factory): fix the `USING_OAF' changes so that they work for when we are not using oaf. svn path=/trunk/; revision=2678 --- addressbook/backend/pas/pas-book-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/backend/pas/pas-book-factory.c') diff --git a/addressbook/backend/pas/pas-book-factory.c b/addressbook/backend/pas/pas-book-factory.c index 651f17523d..93030447a7 100644 --- a/addressbook/backend/pas/pas-book-factory.c +++ b/addressbook/backend/pas/pas-book-factory.c @@ -340,9 +340,10 @@ static gboolean register_factory (CORBA_Object obj) { CORBA_Environment ev; - CORBA_exception_init (&ev); int ret; + CORBA_exception_init (&ev); + ret = goad_server_register (NULL, obj, PAS_BOOK_FACTORY_GOAD_ID, "server", &ev); if (ev._major != CORBA_NO_EXCEPTION) { -- cgit v1.2.3