Re: making the `value' argument of notify_listeners optional
- From: Michael Meeks <michael ximian com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: <gnome-components-list gnome org>
- Subject: Re: making the `value' argument of notify_listeners optional
- Date: Fri, 17 Aug 2001 12:10:21 -0400 (EDT)
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]