Dumb newbie suggestion




Mike Kestner writes:
 > 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.

We should do something like this, yes.  Good idea.  I'll add it.
 > 
 > 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.
 > :-)

Check the samples directory in bonobo.

Nat



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