Re: problem: gtk_image gives critical error
- From: Deependra Shekhawat <openbysource yahoo co in>
- To: Gtk developers <gtk-app-devel-list gnome org>
- Subject: Re: problem: gtk_image gives critical error
- Date: Tue, 18 Apr 2006 04:40:08 -0700 (PDT)
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)" <yeti physics muni cz> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]