Hello,

I am not such a experienced programmer.
I didn't get you.
How do I allocate the structures in heap.
And My othersp program worked very well with
structures in callback (i didn't used heaps).

Regards

--- "David Necas (Yeti)" <[EMAIL PROTECTED]> wrote:

> On Tue, Apr 18, 2006 at 03:42:43AM -0700, Deependra
> Shekhawat wrote:
> > When I print the address of p in the funcl it
> prints a
> > 
> > address.
> > In the callback function it also prints the same
> for 
> > ptr.
> > Then what's the problem.
> 
> The address does not change, but the part of stack
> it points
> to is overwritten meanwhile.
> 
> > Also I use structures to pass data all the time to
> > the callback function then there's no error but
> with
> > this image widget there seems any problem.
> > Please clarify if I have any alternatives 
> 
> Allocate the structures on heap (for example).
> 
> Yeti
> 
> 
> --
> That's enough.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to