Re: [gtk-list] Re: Bug in delivering of delete_event gtk-99.2??



On Fri, 23 Jan 1998, Owen Taylor wrote:

> 
> Richie Bielak <richieb@netlabs.net> writse:
> 
> > I'm just starting with GTK and I think I found a bug. The pointer to
> > user data passed into
> > the callback routine for "delete_event" signal seems to be garbage. I'm
> > using GTK 99.2.
> 
> Actually, you just found a bug in the tutorial. Like all
> signals ending in _event (and a few others), "delete_event"
> takes three arguments.
> 
> Try changing, 
> 
> > void  delete_event (GtkWidget *widget, gpointer data)
> 
> to
> 
> void  delete_event (GtkWidget *widget, GtkEvent *event, gpointer data)
> 
> Regards,
>                                         Owen
> 
> (Anybody want to fix the tutorial and/or the FAQ?)

OK, 'tis done.  I fixed a few other small problems while I was at it.
Nothing major though.


	Ian




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