Re: [gtk-list] Is it a BUG?




Pavel Greenfield <pavel@riskdevel.ml.com> writes:

> "button_press_event" handler no longer seems to be aware of the location
> of the click.
> After GdkEventButton *bevent = (GdkEventButton *) event; bevent->x seems
> to have garbage.
> Other events, most notably, motion handler, work flawlessly. After
> re-installing .99.10 everything went back to normal.

Most likely, your libraries and header files aren't in agreement.
The definitions of Gdk*Event changed after 0.99.10. I would try
removing everything you can find and reinstalling gtk.

> 2. gtk_container_check_resize(.,.) is no longer found at link time.

Use gdk_widget_queue_resize (widget) instead. When I get a chance,
I'll see if I can fix the preview widget so it isn't necessary to
make the call at all. (Widgets should really know when they need
to be resized themselves.)

Regards,
                                        Owen



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