[gtk-list] Re: gtk_get_current_event() (gtk+970606)



Hi!

petm> "gtk_get_current_event" fills in an event structure you pass it. So
petm> the above wouldn't work because you are passing a pointer to random
petm> memory. It should be something more like:
petm> 
petm>   GdkEvent event;
petm>   ...
petm>   gtk_get_current_event (&event);
petm>   ...

Oh! I see. thanks for tell me.

---
Hideki



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