Re: making the `value' argument of notify_listeners optional



Hi Gergo,

On Fri, 17 Aug 2001, ERDI Gergo wrote:
> +	if (opt_value == CORBA_OBJECT_NIL)
> +		my_value = bonobo_arg_new (BONOBO_ARG_NULL);

	if (opt_value) since CORBA_any *'s are not objects to need
CORBA_OBJECT_NIL - they are NULL or not :-) also this way it'll match:

> +	if (!opt_value)
> +		bonobo_arg_release ((BonoboArg*)my_value);

	Apart from that - looks great, please commit.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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