Dumb newbie suggestion



After discovering (the hard way) that bonobo apps must use gnome_CORBA_init
and bonobo_init, I have a suggestion for a very minor patch to
bonobo-main.c.

Could a g_error(Bonobo requires the use of gnome_CORBA_init and
bonobo_init.) statement be added to the bonobo_orb(), bonobo_poa(), and
bonobo_poa_manager() functions if their respective __gvar is NULL.  Gnorba
doesn't do a very good job of checking NULL pointers and bonobo seems to be
pretty indiscriminate at handing out NULLs.

BTW, is there a SIMPLE container app around that can be used for example
code.  Trying to learn bonobo by analyzing gnumeric is a bit of a stretch.
:-)

Regards,
Mike




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