Sending a struct to a bonobo object
Andrew Sobala <[email protected]> 21 Jul 2003 20:05:34 +0100
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Message-ID | <1058814333.9080.3.camel@Gondor> |
Hi, I've implemented my first bonobo object that accepts an argument in the form of a struct defined in the IDL file. How do I pass that to the bonobo control I obtained from bonobo_get_object ? If I g_malloc the struct, and pass a pointer to the stub of the method, it crashes. Presumably I'm doing something wrong :-) Also, who owns (and frees) the struct? The bonobo control or the client? Or whoever created it? Many thanks, -- Andrew Sobala <[email protected]> The lighting designer is expected to be a master of art, science, history, psychology, communications, politics and sometimes even mind reading. -- Stage Lighting Design 101