Re: Check an GObject

2013-06-16 Thread iri
I see Thanks On 16/06/2013 17:37, Emmanuele Bassi wrote: hi; On 16 June 2013 16:24, iri wrote: I already check myself the received object, by internal methods. But (of course) i'm not sure that there are not any vulnerabilities. Know if this object is -or not- a valid GObject instanc

Re: Check an GObject

2013-06-16 Thread iri
Am I wrong ? On 16/06/2013 16:20, Emmanuele Bassi wrote: hi; On 16 June 2013 15:09, iri wrote: I develop an application which using GObject and specific derived objects (in GTK 2.4 or 3.x). A module receives a pointer. It should be a GObject or derived but i'm not sure (I'm not the s

Check an GObject

2013-06-16 Thread iri
Hi, I develop an application which using GObject and specific derived objects (in GTK 2.4 or 3.x). A module receives a pointer. It should be a GObject or derived but i'm not sure (I'm not the sender). So, to avoid bug / corruption / crash, i would check the quality of this pointer : GObject